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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [Ask Help] High CPU Load

Reply
 
Thread Tools Display Modes
  #1  
Old 11-28-2012, 07:38 PM
webhostnix webhostnix is offline
Member
 
Join Date: Sep 2012
Posts: 20
Question [Ask Help] High CPU Load

Hi,

My server load is veru high, please help me

Server Info :
- dual xeon e5 roomley 32 cpu
- 64 GB ram
- sas 15K rpm raid 10
- litesped 2 licensi

Here are captures info and config :








Thanks for any helps
Reply With Quote
  #2  
Old 11-28-2012, 08:58 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
a few suggestions:
1.Server -> External App -> lsphp5:
Max Connections:35
PHP_LSAPI_CHILDREN=100
the 2 value should match or equal.
you can change PHP_LSAPI_CHILDREN back to default 35

2.first screen shot:
PHP suEXEC Max Conn:5
try change it to 10,20

3.you have 32 CPUs, load is 24, not high. 32 is normal.

4.the real-time stats screen shot:
please monitor the WaitQ column, one is 61. should be 0. or non-zero should not keep for long time.
Reply With Quote
  #3  
Old 11-28-2012, 09:10 PM
webhostnix webhostnix is offline
Member
 
Join Date: Sep 2012
Posts: 20
Quote:
Originally Posted by NiteWave View Post
a few suggestions:
1.Server -> External App -> lsphp5:
Max Connections:35
PHP_LSAPI_CHILDREN=100
the 2 value should match or equal.
you can change PHP_LSAPI_CHILDREN back to default 35

2.first screen shot:
PHP suEXEC Max Conn:5
try change it to 10,20

3.you have 32 CPUs, load is 24, not high. 32 is normal.

4.the real-time stats screen shot:
please monitor the WaitQ column, one is 61. should be 0. or non-zero should not keep for long time.
I have applied your suggestions..but the load is increasing...

top - 21:10:16 up 19 days, 19:49, 3 users, load average: 55.88, 36.09, 31.19
Tasks: 1047 total, 5 running, 1042 sleeping, 0 stopped, 0 zombie
Cpu(s): 24.6%us, 37.2%sy, 35.3%ni, 2.8%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 65681040k total, 60810260k used, 4870780k free, 13421492k buffers
Swap: 4194296k total, 0k used, 4194296k free, 27204132k cached
Reply With Quote
  #4  
Old 11-28-2012, 09:29 PM
webhostnix webhostnix is offline
Member
 
Join Date: Sep 2012
Posts: 20
The server load is increasing again. Please help

top - 21:28:15 up 19 days, 20:07, 3 users, load average: 72.04, 62.34, 51.03
Tasks: 1038 total, 8 running, 1030 sleeping, 0 stopped, 0 zombie
Cpu(s): 25.2%us, 15.7%sy, 52.4%ni, 6.4%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 65681040k total, 62365632k used, 3315408k free, 13309168k buffers
Swap: 4194296k total, 0k used, 4194296k free, 27178040k cached
Reply With Quote
  #5  
Old 11-29-2012, 01:26 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
can you post real-time stat screen shot and Server->Security settings screen shot.

high load is a issue, should fix it. but again please be aware: your have 32 CPUs, so load 32 or 64 should not be a big surprise comparing with 1 or 2 CPU system which load is 32 or 64 too. 32 or below is quite normal.
except load, please pay more attention on the actual website performance. if load faster, more traffic will come, which lead higher load. also pay attention to the WaitQ as mentioned before.
Reply With Quote
  #6  
Old 11-29-2012, 01:41 AM
webhostnix webhostnix is offline
Member
 
Join Date: Sep 2012
Posts: 20
Real time stats




Security Setting

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:02 AM.



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