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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Proccess limit

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2006, 04:23 PM
Jetro Jetro is offline
Member
 
Join Date: Aug 2005
Location: Poland
Posts: 18
Default Proccess limit

1) I've got this message in log:
Quote:
[config:server:epsrhpLsapi]'Process Limit' probably is too low, adjust the limit to: 3100.
Where is that option? :|

2) Does CGI Resource Control options affects to lsphp?
Reply With Quote
  #2  
Old 02-12-2006, 04:53 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
3100 is calcuated from the "instances" of lshphp external application.
CGI Reource limit will apply to all external applictions, if it has not been overriden in the external application configuration at the buttom of external application.

Have 1000 lsphp external application is too much for most setup, may not help the performance at all. :-)
Reply With Quote
  #3  
Old 02-13-2006, 03:41 AM
Jetro Jetro is offline
Member
 
Join Date: Aug 2005
Location: Poland
Posts: 18
I changed max connections, because in my forum some of users talked to me that quoting posts is not possible, because it showing error 503 or Server Temporary busy... But server is not overloaded (server load ~1, other pages loading fast) :|

What should i change?

Actually i made these changes:
http://thecrims.org/1.png
http://thecrims.org/2.png
http://thecrims.org/3.png
Reply With Quote
  #4  
Old 02-13-2006, 09:35 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
For your LSAPI config, having "Max Connections" and "Instance" values of "500" is overkill if most of your php scripts connects to a db.

To best judge what you ready need, check real-time stats during the peak hours of your forum and see how many are really in use.

More php processes does not equal to faster website because at the end, 500 concurrent php processes would need 500 concurrent mysql threads which is a load killer in it's own right. We have done some benchmarks and lsapi php values of 20 can be enough for a lot of websites provided the code is clean and mysql is humming along.

Try Max connections and instance value of "60" which should be more than enough.

As for the problem in question of 503 errors or temp busy, that's definitely a problem but appears unrelated to the config in quesiton, at least when I check the throttle values which shouldn't kick into effect.

Have you been able to reproduce the problem yourself?

The only thing I can think of right now based on info is that the throttle is kicking in. Try this. Find the forum user that is having this problem, have them reproduce it on the spot, than set the throttle values to 0/disable, restart lsws, then ask them to reproduce the problem once more.
Reply With Quote
  #5  
Old 02-13-2006, 12:36 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Jetro,

The "Process Soft/Hard Limit" in the first screen shot is too small comparing to the value of "instances". Anyway, LSWS will increase it automatically as you have seen.

As to the 503 error, it is a PHP problem I believe, most likely PHP process had crashed, consider to build your own PHP binary with all required PHP modules.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Increase the maximum number of file descriptor limit IO Install/Configuration 4 06-18-2007 10:57 AM
Concurrent connection limit ukmattlaw General 1 04-11-2007 04:36 PM
Limit vhost bandwidth pratiknaik Install/Configuration 4 09-12-2006 08:23 AM
Limit file transfer speed for certain users Robbban Install/Configuration 5 10-18-2005 07:55 AM
bandwidth limit on a monthly basis illidan Install/Configuration 1 12-23-2004 09:11 AM


All times are GMT -7. The time now is 01:11 PM.



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