|
|

12-27-2012, 06:05 AM
|
|
Member
|
|
Join Date: Dec 2012
Posts: 16
|
|
Connection reset by peer
Hello,
I'm new on LiteSpeed, and currently using trial.key, before i'm migrate to paid one. I'm getting several issue.
This is my error_log
2012-12-27 09:02:27.176 [INFO] [108.162.224.23:12009-0#APVH_xxx.net] connection to [/tmp/lshttpd/APVH_xxx.net_Suphp.sock.221] on request #500, confirmed, 0, associated process: 15942, running: 1, error: Connection reset by peer!
2012-12-27 09:02:27.460 [INFO] [108.162.225.54:35510-1#APVH_xxx.net] connection to [/tmp/lshttpd/APVH_xxx.net_Suphp.sock.262] on request #500, confirmed, 0, associated process: 15864, running: 1, error: Connection reset by peer!
This error is randomly dumped on my error_log.
I'm not sure why this happen.
Cloud someone help me on this or any staff can look at this issue?
Update : This is cPanel server. I'm using LiteSpeed Web Server Plugins on WHM.
Thanks.
Last edited by LowKey; 12-27-2012 at 06:08 AM..
|

12-27-2012, 04:57 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,227
|
|
this is [INFO] message, information only, not error at all.
it is relating to this setting:
lsws admin console->Sever->External App->lsphp5
->Environment: PHP_LSAPI_MAX_REQUESTS=500
the above "500" is the cause of following "500":
Quote:
|
[/tmp/lshttpd/APVH_xxx.net_Suphp.sock.221] on request #500, confirmed, 0, associated process: 15942, running: 1, error: Connection reset by peer!
|
the setting's purpose is described here:
http://www.litespeedtech.com/php-litespeed-sapi.html
Quote:
"LSAPI_MAX_REQS or PHP_LSAPI_MAX_REQUESTS (default value: 10000)
This controls how many requests each child process will handle before it exits automatically. Several PHP functions have been identified having memory leaks. This parameter can help reducing memory usage of leaky PHP functions."
|
|

01-02-2013, 07:39 AM
|
|
Member
|
|
Join Date: Dec 2012
Posts: 16
|
|
Quote:
2013-01-02 10:34:04.984 [INFO] [69.171.229.112:51834-0#APVH_xxx.net] File not found [/home/yousays/public_html/404.shtml]
2013-01-02 10:34:30.388 [INFO] [118.101.200.134:31236-1#APVH_xxx.net] connection to [/tmp/lshttpd/lsphp5.sock.473] on request #1, confirmed, 0, associated process: 6117, running: 1, error: Connection reset by peer!
2013-01-02 10:34:30.419 [INFO] [209.141.60.62:57368-0#APVH_xxx.net] connection to [/tmp/lshttpd/lsphp5.sock.473] on request #2, confirmed, 0, associated process: 6117, running: 1, error: Connection reset by peer!
2013-01-02 10:34:30.423 [INFO] [175.141.16.8:25895-0#APVH_xxx.net] connection to [/tmp/lshttpd/lsphp5.sock.473] on request #1, confirmed, 0, associated process: 6117, running: 1, error: Connection reset by peer!
2013-01-02 10:34:30.448 [INFO] [115.135.75.242:51608-1#APVH_xxx.net] connection to [/tmp/lshttpd/lsphp5.sock.473] on request #2, confirmed, 0, associated process: 6117, running: 1, error: Connection reset by peer!
2013-01-02 10:34:30.476 [INFO] [61.6.56.2:50647-0#APVH_xxx.net] connection to [/tmp/lshttpd/lsphp5.sock.473] on request #2, confirmed, 0, associated process: 6117, running: 1, error: Connection reset by peer!
2013-01-02 10:34:30.564 [INFO] [115.135.29.179:53542-0#APVH_xxx.net] connection to [/tmp/lshttpd/lsphp5.sock.473] on request #1, confirmed, 0, associated process: 6117, running: 1, error: Connection reset by peer!
2013-01-02 10:34:30.699 [INFO] [60.50.83.204:59145-0#APVH_xxx.net] connection to [/tmp/lshttpd/lsphp5.sock.473] on request #1, confirmed, 0, associated process: 6117, running: 1, error: Connection reset by peer!
2013-01-02 10:34:30.712 [INFO] [60.53.25.110:51921-0#APVH_xxx.net] connection to [/tmp/lshttpd/lsphp5.sock.473] on request #1, confirmed, 0, associated process: 6117, running: 1, error: Connection reset by peer!
2013-01-02 10:34:40.471 [NOTICE] [Child: 3821] Shut down successfully!
2013-01-02 10:34:40.483 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets of process with pid=3821 !
2013-01-02 10:34:40.483 [INFO] [CLEANUP] Process with pid: 3828 is not running
2013-01-02 10:34:40.583 [NOTICE] [AutoRestarter] child process with pid=3821 exited with status=0!
2013-01-02 10:34:40.583 [NOTICE] [PID:3818] Server Stopped!
|
The server stopped and restart again, and this issue will randomly appear.
Here I'm attach my setting.
Could you check what wrong with my setting?
This server is very high load webserver.
Thanks.
|

01-02-2013, 12:57 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,339
|
|
|
the stop and restart usually has to do with httpd.conf change by cPanel (like adding/changing account config, etc). LSWS pick up the changes via (graceful) restart. It is not a problem and no need to worry.
your lsphp5 settings have followings issues:
1. instances 10 is not right. should set to 1
2. Max Connections needs to match with PHP_LSAPI_CHILDREN (500) if you have PHP suEXEC (Server => General => Using Apache Configuration File) set to No.
|

01-03-2013, 01:41 AM
|
|
New Member
|
|
Join Date: Jan 2013
Posts: 1
|
|
I'm having the same issue, worked as instructed by webizen but no luck 
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 12:38 AM.
|
|