LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Connection reset by peer Error

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2012, 10:33 AM
semprot semprot is offline
Member
 
Join Date: Apr 2012
Posts: 41
Question 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.
__________________
I use litespeed
Reply With Quote
  #2  
Old 06-21-2012, 01:37 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
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.
Reply With Quote
  #3  
Old 06-21-2012, 10:25 PM
semprot semprot is offline
Member
 
Join Date: Apr 2012
Posts: 41
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.
__________________
I use litespeed
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:50 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.