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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > URGENT! Swap Location/Removal

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2009, 08:46 AM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
Default URGENT! Swap Location/Removal

Hi,

Litespeed is causing my server to constantly have server loads going extremely high. I checked the swapping directory and it is set to what I have previously set it to (/opt/lsws/swap) and I started deleting some files in /tmp/lshttpd/swap to free up some space in /tmp and Litespeed has made the server load 80+. What should I do?

Thanks very much.
Reply With Quote
  #2  
Old 04-14-2009, 08:48 AM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
Sorry, it is a major coincidence that when I started doing this we went under DDoS. What I've said has nothing to do with the high load. I will try and sort that out.
Reply With Quote
  #3  
Old 04-14-2009, 10:05 AM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
I was wrong, there is a bad issue with litespeed. It is going crazy and using up all of my processing power now... That's all I can really say, it's shot the server load up and the %ni in top has shot up too, with litespeed being the cause.
Reply With Quote
  #4  
Old 04-14-2009, 10:17 AM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
It's running as priority 1 when in settings it's 0? I think that may be the issue?
Reply With Quote
  #5  
Old 04-14-2009, 10:55 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
For this kind situation, it is more likely PHP processes gets into a infinite loop for some reason.


I would just kill those PHP processes, see if it comes back.
Restart LSWS may get those PHP processes killed as well.

If it does come back, try "strace" the process using too much CPU, see if you can find out anything.

CPU cycles used by processes with priority other "0" will be counted towards %ni, your problem is that PHP were using too much CPU, not the process priority.
Reply With Quote
  #6  
Old 04-15-2009, 01:54 AM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
The processes would get killed but they kept coming back when litespeed started. Changing my setting for max keep alive requests from 1000 to 10000 seems to have resolved the problem...
Reply With Quote
  #7  
Old 04-15-2009, 10:25 AM
iUnknown iUnknown is offline
Member
 
Join Date: Nov 2008
Posts: 38
This has not solved the problem, it just seems to happen at peak hours (based in the UK). I've tried reinstalling litespeed and it hasn't helped.
Reply With Quote
  #8  
Old 04-15-2009, 10:53 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Better ask mistwang to take a look in your server.
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:35 AM.



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