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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Server Load Low - Litespeed slow

Reply
 
Thread Tools Display Modes
  #1  
Old 09-13-2008, 09:06 AM
piper piper is offline
Senior Member
 
Join Date: Jan 2007
Posts: 58
Default Server Load Low - Litespeed slow

Hi, I need some advice. I received 100.000 (100k) unique/hour, serving static files (text files) using PHP calling the txt file using ajax refreshed with 60 seconds intervals.

Server load was quite stable 1.2-2.0, and iowait was quite good bellow 10% utilization. However litespeed seems to be very slow on it.

Running Litespeed 3.3.18 enterprise (two CPU license), RHEL 5.2 32 bit with PEA Kernel to support 8GB RAM.

On this server

Dual Processor Quad Core Xeon 5430 - 2.66GHz
8GB RAM
RAID 1 15k RPM 147GB HDD (Just for web)

Litespeed
Max Connections = 9000
Max Keep-Alive Requests = 4500
Connection Timeout (secs) = 50s

lsphp5 setting

Max Connections = 80
PHP_LSAPI_MAX_REQUESTS=700
PHP_LSAPI_CHILDREN=80
Initial Request Timeout (secs) = 60s
Memory Soft Limit (bytes) = 350
Memory Hard Limit (bytes) = 400
Process Soft Limit =200
Process Hard Limit = 200

MRTG Reported the bandwidth uses 50Mbps average and our public port is 100Mbps

Please give me some pointer on improving this.

Last edited by piper; 09-13-2008 at 09:24 AM..
Reply With Quote
  #2  
Old 09-13-2008, 03:19 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
I suggest you to look into the internal redirect to serve static files directly instead of going through PHP.

http://www.litespeedtech.com/support...ernal_redirect
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:13 PM.



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