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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > autorestarting and error: Connection reset by peer

Reply
 
Thread Tools Display Modes
  #11  
Old 04-03-2012, 12:47 PM
hd-sam hd-sam is offline
Member
 
Join Date: Nov 2010
Posts: 22
Quote:
Originally Posted by webizen View Post
It is due to your lsphp5 external app environment variable:
Code:
PHP_LSAPI_MAX_REQUESTS=500
That is NOT a problem (even with "error: Connection reset by peer!" signature). LSPHP5 parent will spawn another child to take it over.
Excellent, thank you. That is good to know. Would you recommend I change the that number or leave it?

Another important thing to note we have litespeed installed on many servers (all are cpanel servers), some of them used for shared hosting, some of them for dedicated sites. While I don't have issues with them, I've noticed every single one is autorestarting.

On every single one, the Current Uptime is under 1 hour (checked via Real-Time Stats in LS Web Admin). I've never seen it go more than 2 hours. They are all running 4.1.11 or 4.1.10.

Is that normal too?
Is anyone else experiencing the same thing?
Reply With Quote
  #12  
Old 04-04-2012, 07:55 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
1. You can leave php_lsapi_max_requests=500 as is. As pointed out, that's not a problem.
2. For self restart every hour, pls check whm => service configuration, make sure apache is disabled. also check error log (i.e. /usr/local/apache/logs/error_log) for details of restart.
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 01:23 AM.



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