request #500, error: Connection reset by peer!

Discussion in 'General' started by howtogeek, Sep 9, 2008.

  1. howtogeek

    howtogeek New Member

    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!
  2. mistwang

    mistwang LiteSpeed Staff

    That's normal, each PHP process is configured to serve 500 requests then quit. It does not affect anything.
  3. howtogeek

    howtogeek New Member

    Thanks for the quick reply.

    You should also change the error message.
  4. anewday

    anewday Moderator

    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: Oct 27, 2008
  5. mistwang

    mistwang LiteSpeed Staff

    The connection may get closed before reach 10000 requests.
    You can change log level to "NOTICE" to avoid those logging entries.

Share This Page