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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2012, 08:04 AM
IanD IanD is offline
Member
 
Join Date: Sep 2010
Posts: 41
Default Connection reset by peer

Hi,

I'm getting a lot of these in my log files:

2012-03-18 15:01:46.919 [INFO] [removed:34994-0#APVH_removed] connection to [/tmp/lshttpd/lsphp5.sock.461] on request #195, confirmed, 0, associated process: 21531, running: 1, error: Connection reset by peer!
2012-03-18 15:01:46.921 [INFO] [removed:12518-0#APVH_removed] connection to [/tmp/lshttpd/lsphp5.sock.461] on request #192, confirmed, 0, associated process: 21531, running: 1, error: Connection reset by peer!
2012-03-18 15:01:46.927 [INFO] [removed:50220-0#APVH_removed] connection to [/tmp/lshttpd/lsphp5.sock.461] on request #144, confirmed, 0, associated process: 21531, running: 1, error: Connection reset by peer!
2012-03-18 15:01:46.932 [INFO] [removed:40625-0#APVH_removed] connection to [/tmp/lshttpd/lsphp5.sock.461] on request #21, confirmed, 0, associated process: 21531, running: 1, error: Connection reset by peer!
2012-03-18 15:01:46.938 [INFO] [removed:64243-0#APVH_removed] connection to [/tmp/lshttpd/lsphp5.sock.461] on request #18, confirmed, 0, associated process: 21531, running: 1, error: Connection reset by peer!
2012-03-18 15:01:47.543 [INFO] [removed:2382-0#APVH_removed] connection to [/tmp/lshttpd/lsphp5.sock.461] on request #2, confirmed, 0, associated process: 21531, running: 1, error: Connection reset by peer!

What's the best way to debug this? Is there a guide somewhere?

I believe you can look at the PHP process somehow but I can't find the instructions now.

Many thanks,

Ian
Reply With Quote
  #2  
Old 03-19-2012, 11:57 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Looks like PHP crashed while processing the script. Search the entries around to find URL/php script in question. See if it can be reliably reproduced every time a page is requested. Switch back to Apache and see you get blank page for the same page.

You may want to enable PHP core dump (http://www.litespeedtech.com/support...e_dump_for_php) to find out why.
Reply With Quote
  #3  
Old 03-19-2012, 12:37 PM
IanD IanD is offline
Member
 
Join Date: Sep 2010
Posts: 41
Thanks - I've seen random blank pages but didn't realise this is the problem. Never the same script every time.

I'll enable core dump for PHP - where would this be stored?
Reply With Quote
  #4  
Old 03-19-2012, 01:13 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
php cores should be stored at where php script resides.

here is some info to debug:

http://www.litespeedtech.com/support...ead.php?t=4756
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:04 AM.



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