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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > massive cpu usage from litespeed

Reply
 
Thread Tools Display Modes
  #1  
Old 10-14-2008, 09:54 AM
azn_romeo_4u azn_romeo_4u is offline
Member
 
Join Date: Jan 2008
Posts: 48
Default massive cpu usage from litespeed

User Domain %CPU %MEM MySQL Processes
nobody 210.02 9.21 0.0
Top Process %CPU 47.5 lsphp5
Top Process %CPU 46.0 lsphp5
Top Process %CPU 45.0 lsphp5

It ran like this for 8 hours yesterday until I restarted the server. Now around 8am today, it's running like this again.
Reply With Quote
  #2  
Old 10-14-2008, 10:16 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Looks like a run away PHP process, either php script problem or php internal bug.

try "strace -p <pid_of_lsphp5>",

you can set the "max_execution_time" in php.ini to minimize the cpu time consumed by those bad PHP processes before having a fix.
Reply With Quote
  #3  
Old 10-14-2008, 01:47 PM
azn_romeo_4u azn_romeo_4u is offline
Member
 
Join Date: Jan 2008
Posts: 48
Thank you,

I might be under a ddos attack. I increased my CSF firewall to high and the load suddenly drops down to 1 again. I don't even see more than one instances of lsphp5 in the running process either.

When i set it to low, load jumps to 40 again.
Reply With Quote
  #4  
Old 10-14-2008, 02:02 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
this might be of interest to you.

http://www.litespeedtech.com/how-tos.html#qa_dos
Reply With Quote
  #5  
Old 10-27-2008, 08:18 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Glad you solved it and it wasn't related to litespeed.

http://www.webhostingtalk.com/showpo...6&postcount=26

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 06:16 AM.



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