Timeout of 600 seconds reached, killing child process!

Moderator: crythias

Post Reply
chefski27
Znuny newbie
Posts: 6
Joined: 03 Mar 2020, 21:18
Znuny Version: 6.0.30
Real Name: Barrett Radziszewski
Company: PayPal

Timeout of 600 seconds reached, killing child process!

Post by chefski27 »

I have similar issue with timeout of 600 seconds occurring almost every hour on whichever inbox is being fetched at the 45 minute mark.

Is there a config that can be added to the Sys Config:Daemon::SchedulerCronTaskManager::Task###MailAccountFetch within the UI, or to Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch on the backend? I tried to setup Params / Parameters with --timeout=1800 seconds, however that didn't seem to work.

I can run it directly from the server using this, however would prefer to have a permanent setting. Do you have any guidance on how to overwrite default of 600s to get something like the below in place instead (with or without the --force-pid would be fine):
*/35 * * * * sudo -u otrs /opt/otrs/bin/otrs.Console.pl Maint::PostMaster::MailAccountFetch --timeout=1800 --force-pid
Johannes
Moderator
Posts: 391
Joined: 30 Jan 2008, 02:26
Znuny Version: All of them ^^
Real Name: Hannes
Company: Znuny|OTTERHUB

Re: Timeout of 600 seconds reached, killing child process!

Post by Johannes »

Just a not: I split your topic.
reusing 2 year old topics is a bit confusing viewtopic.php?f=53&t=40718


To your topic:

If your mail fetch takes more than 10 minutes I would assume that:
a) something is wrong with your setup
or
b) that you are fetching "too many" accounts and you need this time.

So first question:
How many accounts do you fetch?

Regards
Post Reply