Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

CRON Stopping witho...
 
Notifications
Clear all

CRON Stopping without error

1 Posts
1 Users
0 Reactions
3,681 Views
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
Topic starter
 
[#6704]

For those who face CRON stopping without logged error, just a little hint.
In most cases, it comes from reached timeout.

The first important parameter is PHP execution_max_time
Projeqtor tries to refresh this value with set_time_limit() function.
But this function may be disabled on your PHP stack.

More frequently, this issue may occure when using PHP-fpm.
In this deployment of PHP, it is not integrated as a module in Apache.
This is default configuration when using NGINX as web server.
Then you'll have to change the resuest_slowlog_timeout, as this will stop the script to write a trace.
Possibly also change request_terminate_timeout.
Here is a proposale to change in /etc/php/7.x/fpm/pool.d/www.conf

;request_terminate_timeout = 60s
;request_slowlog_timeout = 10s
request_terminate_timeout = 0
request_slowlog_timeout = 0

 
Posted : 12 May 2020 16H12
Share:

Scroll to Top