[solved] 503 Error: Litespeed Web Server Enterprise v4.2.4
I have tried for days trying to overcome an issue with Litespeed. I have read every post I could find and have done everything they all said to no avail. I have a PHP script that needs to run for at least 20 minutes. I initially set the max executuion time to 3600 thinking that would do it. However, no matter what I do after about 300 seconds I get the following in the error log:
2013-11-03 09:05:01.085 [STDERR] Killing runaway process PID: 27214 with SIGTERM
and the web page displayed is:
503 Service Unavailable
The server is temporarily busy, try again later!
I have set every remotely relevant timeout I could find in the Litespeed config to 100 times its initial value and still I get the same issue after about 300 seconds.
Please could someone help?
Below are my settings, and they are confirmed using phpinfo.php
Max Connections 2000
Max SSL Connections 500
Connection Timeout (secs) 36000
Max Keep-Alive Requests 32000
Smart Keep-Alive (I have tried with this value set to No and Yes)
Keep-Alive Timeout (secs) 60
Initial Request Timeout (secs) 36000
Max Idle Time 1000
Last edited by NiteWave; 11-04-2013 at 03:58 AM..