LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Connection reset by peer Error (http://www.litespeedtech.com/support/forum/showthread.php?t=6026)

semprot 06-21-2012 10:33 AM

Connection reset by peer Error
 
Before creating this thread, i have googled and found some threads on litespeedtech, but i still can't fix it. So i have to create a thread.

I use : Litespeed Web Server Enterprise v4.1.12 (2 cpu license)
I have APC installed.

On last few days, i have stability issue on the webserver. I think it is restarted because i have apc script that detects the APC uptime. I think APC uptime relates closely with litespeed uptime so i check the litespeed log, i find quite lot of this line :

Code:

[110.139.150.253:2285-0#APVH_mydomain.com] connection to [/tmp/lshttpd/lsphp5.sock.153] on request #100, confirmed, 0, associated process: 18119, running: 1, error: Connection reset by peer!
Before that line, i only find lot of 404 not found lines.
And i've tried to search IP address (110.139.150.253 on the example above) on the litespeed log several pages before that line, but i see no matching IP.

Please help me to find out whether that "Connection reset by peer" relates to my server uptime. And if so, how to fix it.

Thanks.

webizen 06-21-2012 01:37 PM

LSWS uptime has no correlation with "Connection reset by peer" message which basically indicates php process crashed when taking user request mostly due to php coding problem.

check /usr/local/lsws/logs/ap_cmd_param.log and see if it matches the uptime (between restarts) you observed. it could be something else restart lsws.

semprot 06-21-2012 10:25 PM

Most of the latest lines are these

Code:

Thu Jun 21 20:23:15 CDT 2012: -k start -DSSL
Thu Jun 21 20:23:51 CDT 2012: -k stop -DSSL
Thu Jun 21 20:23:51 CDT 2012: -k start -DSSL
Thu Jun 21 20:24:02 CDT 2012: -k stop -DSSL
Thu Jun 21 20:33:07 CDT 2012: -v
Thu Jun 21 20:33:09 CDT 2012: -k stop -DSSL
Thu Jun 21 20:33:09 CDT 2012: -k start -DSSL
Thu Jun 21 20:33:10 CDT 2012: -V
Thu Jun 21 20:33:10 CDT 2012: -l
Thu Jun 21 20:33:10 CDT 2012: -v
Thu Jun 21 21:51:47 CDT 2012: -DSSL -t -f /usr/local/apache/conf/httpd.conf
Thu Jun 21 21:51:48 CDT 2012: -k graceful
Thu Jun 21 21:51:54 CDT 2012: -v
Thu Jun 21 21:51:54 CDT 2012: -DSSL -t -f /usr/local/apache/conf/httpd.conf
Thu Jun 21 21:51:54 CDT 2012: -l
Thu Jun 21 21:51:54 CDT 2012: -V
Thu Jun 21 21:52:13 CDT 2012: -k stop -DSSL
Thu Jun 21 21:52:13 CDT 2012: -k start -DSSL
Thu Jun 21 21:52:14 CDT 2012: -v
Thu Jun 21 21:52:14 CDT 2012: -V
Thu Jun 21 21:52:14 CDT 2012: -l
Thu Jun 21 21:52:32 CDT 2012: -k graceful
Thu Jun 21 21:52:47 CDT 2012: -k stop -DSSL
Thu Jun 21 21:52:47 CDT 2012: -k start -DSSL

Code:

Thu Jun 21 22:58:17 CDT 2012: -l
Thu Jun 21 22:58:17 CDT 2012: -l
Thu Jun 21 22:58:17 CDT 2012: -l
Thu Jun 21 22:58:17 CDT 2012: -l
Thu Jun 21 22:58:17 CDT 2012: -l
Thu Jun 21 22:58:17 CDT 2012: -l
Thu Jun 21 22:58:17 CDT 2012: -v
Thu Jun 21 22:58:17 CDT 2012: -l
Thu Jun 21 22:58:17 CDT 2012: -l
Thu Jun 21 22:58:17 CDT 2012: -l
Thu Jun 21 23:01:23 CDT 2012: -l
Thu Jun 21 23:06:31 CDT 2012: -V
Thu Jun 21 23:06:31 CDT 2012: -l
Thu Jun 21 23:06:31 CDT 2012: -DSSL -t -f /usr/local/apache/conf/httpd.conf
Thu Jun 21 23:06:35 CDT 2012: -DSSL -t -f /usr/local/apache/conf/httpd.conf.1340337991
Thu Jun 21 23:06:37 CDT 2012: -k stop -DSSL
Thu Jun 21 23:06:37 CDT 2012: -k start -DSSL
Thu Jun 21 23:07:13 CDT 2012: -k stop -DSSL
Thu Jun 21 23:07:13 CDT 2012: -k start -DSSL
Thu Jun 21 23:07:24 CDT 2012: -k stop -DSSL
Thu Jun 21 23:16:28 CDT 2012: -v
Thu Jun 21 23:16:29 CDT 2012: -k stop -DSSL
Thu Jun 21 23:16:29 CDT 2012: -k start -DSSL
Thu Jun 21 23:16:30 CDT 2012: -V
Thu Jun 21 23:16:30 CDT 2012: -l
Thu Jun 21 23:16:30 CDT 2012: -v

Is there any clue?

Thanks.


All times are GMT -7. The time now is 12:24 PM.