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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > shared hosting setup

Reply
 
Thread Tools Display Modes
  #1  
Old 07-07-2009, 10:24 PM
Elfz Elfz is offline
New Member
 
Join Date: Jun 2009
Posts: 9
Default shared hosting setup

I'm running a quad with 4GB ram... my current setup:

Code:
max connections: 55
PHP_LSAPI_MAX_REQUESTS=17500
PHP_LSAPI_CHILDREN=55
LSAPI_MAX_IDLE_CHILDREN=1
LSAPI_MAX_IDLE=10
Initial Request Timeout (secs): 30
Connection Keepalive Timeout: 10
Run On Start Up: yes
Auto Start: yes
Persistent Connection: yes

anything i could improve on?
Reply With Quote
  #2  
Old 07-10-2009, 01:32 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
If you using PHP suEXEC,

Quote:
LSAPI_MAX_IDLE_CHILDREN=1
LSAPI_MAX_IDLE=10
have no effect.
Instead, should set "Max Idle Time" to "10" seconds.
Initial Request Timeout can be set longer if user has difficulty to process a script takes long time to finish.

Connection Keepalive Timeout should be -1 to keep the connection alive as long as PHP process is alive.
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 10:32 PM.



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