We have a WP plugin for real estate sites that requires cron tasks to be run via WGET.
Often the job will fail with a 503 error.
As you can see the script is cutting off after one hour.
stderr.log shows this:
PHP has a long timeout (10800), and high memory limit.
Any suggestions on what I can tweak with LiteSpeed to avoid this?
Often the job will fail with a 503 error.
Code:
$ wget -T 10800 'https://www.example.com/wp-content/plugins/plugin/cron.php'
--2017-04-11 16:00:55-- https://www.example.com/wp-content/plugins/plugin/cron.php
Resolving www.example.com (www.example.com)... xxx.xxx.xxx.xxx
Connecting to www.example.com (www.example.com)|xxx.xxx.xxx.xxx|:443... connected.
HTTP request sent, awaiting response... 503 Service Unavailable
2017-04-11 17:00:56 ERROR 503: Service Unavailable.
stderr.log shows this:
Code:
2017-04-11 17:00:56.113 [STDERR] Child process with pid: 9453 was killed by signal: 15, core dump: 0
Any suggestions on what I can tweak with LiteSpeed to avoid this?