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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Optimal PHP Configuration

Reply
 
Thread Tools Display Modes
  #1  
Old 08-09-2011, 12:01 AM
freeballt freeballt is offline
Member
 
Join Date: Apr 2011
Posts: 38
Default Optimal PHP Configuration

I've tried everything with the PHP configurations and can't seem to get an optimal configuration.

Server Specs:
dual xeon
32 gigs ram
2x 146 hds in raid

No matter what I've tried, either my website lags out randomly, or php times out. Firstly this is PHP5. I've set a memory hard limit of 256/512M. Max idle time 60. Instances 1. Connection Keepalive Timeou 0. Initial Request Timeout. max connections 150/php_lsapi_children 150. Max requests 2000.

Any suggestions?
Reply With Quote
  #2  
Old 09-09-2011, 01:21 AM
foliovision foliovision is offline
Member
 
Join Date: Mar 2011
Posts: 10
Hello freeballt and fellow LiteSpeed users!

1. there is probably no easy answer.

You should check your PHP scripts and DB queries. Check how much traffic you get. Try to test if some other similar website will lag out when hit by the same amount of traffic. You could for example test two sites with a tool like LoadImpact (allows you to simulate traffic coming from 10 - 500 clients at the same time) and see if there is any difference.

It looks to me that you are trying to solve the issue on the wrong place, that means restricting the LiteSpeed settings.

2. We are currently looking for a good starting configuration for Dual Xeon with 8GB of RAM. We would love to hear from all of you - what kind of LiteSpeed configs do you use on similar machines?

Thanks,
Martin
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 12:36 PM.



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