Random 503 error

#1
Hi,

I'm running PHP 5.2.17 ( no opcode cache ), Litespeed 4.0.20 and Cpanel 11.30.2.

A lot of customers complain about getting random 503 errors and i can see it in litespeed logs. This was not happening when running apache.

Check this, for example:

Code:
2011-08-18 13:42:30.109 [INFO] [****:18022-2#APVH_h.es] connection to [/tmp/lshttpd/APVH_h.es_Suphp.sock.141] on request #0, confirmed, 1, associated process: 86702, running: 1, error: Connection reset by peer!
2011-08-18 13:42:30.109 [NOTICE] [****:18022-2#APVH_h.es] POST request in process stage, fail with 503 
2011-08-18 13:42:30.109 [NOTICE] [****:18022-2#APVH_h.es] oops! 503 Service Unavailable
What should i do to fix these litespeed problems?

Thanks!
 

webizen

Well-Known Member
#2
the error indicates 503 error was due to PHP script crashed. check the log entries before and after the 503 error in question to which php script was called. Also make sure LSPHP is matching with PHP on that server.
 
#3
There is nothing before it. After it, only the request line and the cookie len which does not clarify the cause of the problem.

I can do the same action with Apache without getting any error.

Also, php's error_log does not have any new entry.
 
Top