multiple 503 errors

#1
Hello,

On many our sites in logs we see such errors like this one below:

2013-02-11 10:12:29.870 [INFO] [x.x.x.x:40365-0#APVH_www.****.eu] connection to [/tmp/lshttpd/APVH_www.****.eu_Suphp.sock.069] on request #1, confirmed, 1, associated process: 21442, running: 0, error: Connection reset by peer!

2013-02-11 10:12:30.252 [INFO] [x.x.x.x:40365-0#APVH_www.****.eu] connection to [/tmp/lshttpd/APVH_www.www.****.eu_Suphp.sock.044] on request #0, confirmed, 1, associated process: 24904, running: 0, error: Connection reset by peer!

and this one:

2013-02-11 10:34:13.427 [INFO] [x.x.x.x:56727-0#APVH_]www.****.eu] connection to [/tmp/lshttpd/APVH_]www.****.eu_Suphp.sock.752] on request #0, confirmed, 1, associated process: 30217, running: 0, error: Connection reset by peer!

2013-02-11 10:34:13.427 [NOTICE] [x.x.x.x:56727-0#APVH_]www.****.eu] Max retries has been reached, 503!
2013-02-11 10:34:13.427 [NOTICE] [x.x.x.x:56727-0#APVH_]www.****.eu] oops! 503 Service Unavailable

2013-02-11 10:34:13.427 [NOTICE] [x.x.x.x:56727-0#APVH_]www.****.eu] Content len: 0, Request line: 'GET ****** HTTP/1.1'


of course Litespeed restarts almost every 1 minute...

How to solve this problem?
 
#3
I don't use any of this from this link. Those errors started after curl update to version 7.29.0 (directadmin). Earlier was everything fine.
 
#7
We will test this curl today, but i found also this:

2013-02-13 00:06:13.245 [INFO] [x.x.x.x:52389-0#APVH_www.xxxxx.com] connection to [/tmp/lshttpd/APVH_www.xxxxx.com_Suphp.sock.777] on request #1, confirmed, 1, associated process: 18044, running: 0, error: Connection reset by peer!

2013-02-13 00:06:23.376 [INFO] [x.x.x.x:52389-0#APVH_www.xxxxx.com] connection to [/tmp/lshttpd/APVH_www.xxxxx.com_Suphp.sock.974] on request #1, confirmed, 1, associated process: 18443, running: 0, error: Connection reset by peer!

2013-02-13 00:06:28.571 [INFO] [x.x.x.x:52389-0#APVH_www.xxxx.com] connection to [/tmp/lshttpd/APVH_www.xxxx.com_Suphp.sock.081] on request #1, confirmed, 1, associated process: 17925, running: 0, error: Connection reset by peer!

2013-02-13 00:06:28.571 [NOTICE] [x.x.x.x:52389-0#APVH_www.xxxx.com] Max retries has been reached, 503!

2013-02-13 00:06:28.571 [NOTICE] [x.x.x.x:52389-0#APVH_www.xxxx.com] oops! 503 Service Unavailable

2013-02-13 00:06:28.571 [NOTICE] [x.x.x.x:52389-0#APVH_www.xxxx.com] Content len: 0, Request line: 'GET xxxx HTTP/1.1'

and on multiple sites...
 
#8
Problem was with curl 7.29.0. after downgrade to 7.28.1 all 503 errors are gone. So there is a problem with directadmin, curl 7.29.0, litespeed 4.2.1 and php 5.3.19.
 
#12
We made upgrade to 4.2.2 but when we open a website it tries to download php file, so we had to get back to 4.2.1

Now we have diffrent problem, of course with 503 error.

When we try to open an adress where server is fetching proxy lists we get this:

2013-02-18 01:19:06.756 [INFO] [xxxxxxx:58014-0#APVH_xxxxxxx] connection to [/tmp/lshttpd/APVH_www.xxxxxxx_Suphp.sock] on request #2, confirmed, 1, associated process: 6343, running: 1, error: Connection reset by peer!

2013-02-18 01:19:13.698 [INFO] [xxxxxxx:58014-0#APVH_xxxxxxx] connection to [/tmp/lshttpd/APVH_www.xxxxxxx_Suphp.sock] on request #0, confirmed, 1, associated process: 10358, running: 0, error: Connection reset by peer!

2013-02-18 01:19:13.698 [NOTICE] [xxxxxxx:58014-0#APVH_xxxxxxx] Max retries has been reached, 503!

2013-02-18 01:19:13.698 [NOTICE] [xxxxxxx:58014-0#APVH_xxxxxxx] oops! 503 Service Unavailable

2013-02-18 01:19:13.698 [NOTICE] [78.10.133.86:58014-0#APVH_xxxxxxx] Content len: 0, Request line: 'GET /proxy_fetch.php HTTP/1.1'

2013-02-18 01:19:13.698 [INFO] [xxxxxxx:58014-0#APVH_xxxxxxx] Cookie len: 538, session_payload=85650d7ecfdf281198bdf5d75ea5db11c9ffc4ad%2BRbpyKBiMEJTSatorAlJiOrTht7p9B9fMPzJPP8ra4sYPhiUAoQitRSfCvwIj8VvzAuaOlJK%2FTxY9wsoid%2BXFwU4p%2BL4uxn4FNbyLsJjZhAcXiInIPBxR2OH62C4sJ8wqUL%2FeUuO3gII52P11fFzVo0NayzrT9DZkxBUORhMhNS1Yy4CXvSh6Zo4NJwd0%2F%2FZLMiW3iS5m7jeMUnaOCY%2FffgRBa90cXomEw6aOI6xJZOqYaPjYZ%2B%2B5niJCbxXP%2B4Q%2F4CCA6zJzruIboLE9bqTl%2Bbx%2FobIehvNJzy0TB7lkQwLiF8BwDOcqp2QkglHmhEzzku7%2FXWx3a%2B0JuDDlM6N3Sg%3D%3D; laravel_session=0b9b9e1d8e907149d05c3265b185d83542eff96e%2BYdh3qFbp36mlkxZZl9Ugt5749u1RlCD9b7V8UPWO


In stderr.log we saw also error: zend_mm_heap corrupted

We tested this script on 3 servers with directadmin and cpanel and on all this error occur.

We also checked this on normal apache and there is no such errors and script works fine. We tested the same php.ini configuration on litespeed and apache.
 

webizen

Well-Known Member
#15
for the issue of php download instead of execution, pls put mod_suphp in apacheIgnoredModules (Admin Console => Configuration => Server => General) to work around it.
 

webizen

Well-Known Member
#17
...
When we try to open an adress where server is fetching proxy lists we get this:

2013-02-18 01:19:06.756 [INFO] [xxxxxxx:58014-0#APVH_xxxxxxx] connection to [/tmp/lshttpd/APVH_www.xxxxxxx_Suphp.sock] on request #2, confirmed, 1, associated process: 6343, running: 1, error: Connection reset by peer!

2013-02-18 01:19:13.698 [INFO] [xxxxxxx:58014-0#APVH_xxxxxxx] connection to [/tmp/lshttpd/APVH_www.xxxxxxx_Suphp.sock] on request #0, confirmed, 1, associated process: 10358, running: 0, error: Connection reset by peer!

2013-02-18 01:19:13.698 [NOTICE] [xxxxxxx:58014-0#APVH_xxxxxxx] Max retries has been reached, 503!

2013-02-18 01:19:13.698 [NOTICE] [xxxxxxx:58014-0#APVH_xxxxxxx] oops! 503 Service Unavailable

2013-02-18 01:19:13.698 [NOTICE] [78.10.133.86:58014-0#APVH_xxxxxxx] Content len: 0, Request line: 'GET /proxy_fetch.php HTTP/1.1'

2013-02-18 01:19:13.698 [INFO] [xxxxxxx:58014-0#APVH_xxxxxxx] Cookie len: 538, session_payload=85650d7ecfdf281198bdf5d75ea5db11c9ffc4ad%2BRbpyKBiMEJTSatorAlJiOrTht7p9B9fMPzJPP8ra4sYPhiUAoQitRSfCvwIj8VvzAuaOlJK%2FTxY9wsoid%2BXFwU4p%2BL4uxn4FNbyLsJjZhAcXiInIPBxR2OH62C4sJ8wqUL%2FeUuO3gII52P11fFzVo0NayzrT9DZkxBUORhMhNS1Yy4CXvSh6Zo4NJwd0%2F%2FZLMiW3iS5m7jeMUnaOCY%2FffgRBa90cXomEw6aOI6xJZOqYaPjYZ%2B%2B5niJCbxXP%2B4Q%2F4CCA6zJzruIboLE9bqTl%2Bbx%2FobIehvNJzy0TB7lkQwLiF8BwDOcqp2QkglHmhEzzku7%2FXWx3a%2B0JuDDlM6N3Sg%3D%3D; laravel_session=0b9b9e1d8e907149d05c3265b185d83542eff96e%2BYdh3qFbp36mlkxZZl9Ugt5749u1RlCD9b7V8UPWO


In stderr.log we saw also error: zend_mm_heap corrupted

We tested this script on 3 servers with directadmin and cpanel and on all this error occur.

We also checked this on normal apache and there is no such errors and script works fine. We tested the same php.ini configuration on litespeed and apache.
these 503 errors were due to mismatch PHP (different PHP version and compile options) in lsws. once matching PHP is built, proxy fetch is successful with no error.
 
Top