LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   multiple 503 errors (http://www.litespeedtech.com/support/forum/showthread.php?t=6663)

emkay 02-11-2013 04:48 PM

multiple 503 errors
 
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?

webizen 02-11-2013 05:10 PM

https://store.litespeedtech.com/stor...yarticle&id=31

emkay 02-11-2013 05:33 PM

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.

webizen 02-11-2013 05:38 PM

try re-build matching PHP to be compatible with underline curl libraries (updated).

emkay 02-11-2013 06:11 PM

Well i used LS php compiler to rebuild php but still no effect (LS 4.2.1 and PHP 5.3.19)

NiteWave 02-12-2013 12:22 AM

can you create a simple php script which contain curl functions, see if can reproduce the 503 error easily ?

emkay 02-12-2013 03:22 PM

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...

emkay 02-13-2013 08:16 AM

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.

webizen 02-13-2013 04:20 PM

Can you run 5.3.19 + curl 7.29.0 with Apache and see if problem persists?

emkay 02-13-2013 04:26 PM

On normal apache with curl 7.29.0 everything is ok.


All times are GMT -7. The time now is 02:35 AM.