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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > request #500, error: Connection reset by peer!

Reply
 
Thread Tools Display Modes
  #1  
Old 09-09-2008, 08:33 AM
howtogeek howtogeek is offline
New Member
 
Join Date: May 2008
Posts: 6
Default request #500, error: Connection reset by peer!

My error log is full of these messages, and I'm wondering what they indicate:

Code:
	[82.1.250.115:42312-0#Blogs] connection to [uds://tmp/lshttpd/lsphp.sock] on request #500, error: Connection reset by peer!
2008-09-08 17:00:38.636	INFO	[24.124.81.146:4315-0#Blogs] connection to [uds://tmp/lshttpd/lsphp.sock] on request #500, error: Connection reset by peer!
2008-09-08 17:01:09.180	INFO	[216.36.82.40:15075-0#Blogs] connection to [uds://tmp/lshttpd/lsphp.sock] on request #500, error: Connection reset by peer!
2008-09-08 17:01:36.337	INFO	[159.178.36.57:3738-0#Blogs] connection to [uds://tmp/lshttpd/lsphp.sock] on request #500, error: Connection reset by peer!
2008-09-08 17:02:04.103	INFO	[68.228.54.226:63098-0#Blogs] connection to [uds://tmp/lshttpd/lsphp.sock] on request #500, error: Connection reset by peer!
2008-09-08 17:05:02.819	INFO	[70.173.247.213:35188-1#Home] connection to [uds://tmp/lshttpd/lsphp.sock] on request #500, error: Connection reset by peer!
2008-09-08 17:05:41.880	INFO	[67.33.129.46:52636-1#Blogs] connection to [uds://tmp/lshttpd/lsphp.sock] on request #500, error: Connection reset by peer!
2008-09-08 17:05:56.105	INFO	[12.226.176.87:13535-1#Blogs] connection to [uds://tmp/lshttpd/lsphp.sock] on request #500, error: Connection reset by peer!
2008-09-08 17:06:54.138	INFO	[24.3.91.241:31700-0#Blogs] connection to [uds://tmp/lshttpd/lsphp.sock] on request #500, error: Connection reset by peer!
Reply With Quote
  #2  
Old 09-09-2008, 08:54 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
That's normal, each PHP process is configured to serve 500 requests then quit. It does not affect anything.
Reply With Quote
  #3  
Old 09-09-2008, 09:07 AM
howtogeek howtogeek is offline
New Member
 
Join Date: May 2008
Posts: 6
Thanks for the quick reply.

You should also change the error message.
Reply With Quote
  #4  
Old 10-27-2008, 07:25 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
I am seeing similar log entries but the request # are different.

lsphp4 settings:
PHP_LSAPI_MAX_REQUESTS=10000
PHP_LSAPI_CHILDREN=20
LSAPI_MAX_PROCESS_TIME=900

Code:
[86.131.x.x:2236-13#APVH_forum....com] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #25, Connection reset by peer!
[189.78.x.x:3241-1#APVH_forum.....com] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #8, Connection reset by peer!
[86.202.x.x:53064-0#APVH_forum....com] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #5, Connection reset by peer!
[87.196.x.x:1624-0#APVH_forum...com] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #13, Connection reset by peer!
Shouldn't it server 10000 requests then quit based on the settings above?

I agree no need to log those, it will just increase disk write and fill up the log quickly.

Last edited by anewday; 10-27-2008 at 07:31 AM..
Reply With Quote
  #5  
Old 10-27-2008, 10:41 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
The connection may get closed before reach 10000 requests.
You can change log level to "NOTICE" to avoid those logging entries.
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 12:18 AM.



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