Results 1 to 6 of 6
  1. #1

    * Server load questions

    Hi, I've been having some major problems with my server load lately and I was hoping some of you would be able to help me out.

    My load is spiking up to huge numbers (over 40 at some points) that make accessing the server at all problematic. People can't connect to SMTP, FTP, HTTP, etc.

    A few run-away httpd processes are to blame most of the time I believe -- running top, it's clear to see that there are the perpetrators, and when I kill them the load gradually goes back to normal.

    I've read up a little on RLimitCPU and RLimitMEM ( but I wasn't sure what settings to use for soft/max. Does anyone have these directives in place? If so, what do you suggest for acceptable settings?

    What's your average load? Mine used to be well below 1 but now it's common for me to see loads of 10 and above. My host told me not to worry about it but it's kind of hard not to worry when I can barely SSH into the server.

    I'm running Ensim and it's kind of hard to trace the process to a certain user -- does anyone have any tips for this? In the Ensim docs it says that it's possible by running "sitelookup" after doing a ps but I haven't been successful here.

    Thanks in advance,

  2. #2
    Has anyone ever used the program softlimit? I'm thinking about using it to keep httpd in check but I'd like to know if anyone has used it or recommends something else. Here's a link to the Softlimit website (it's distributed in a package called Daemontools).

    Thank in advance,

  3. #3
    Join Date
    Nov 2001
    How much traffic is your server doing?

    RLimitCPU and RLimitMEM will only really make a difference if you're running a lot of CGI scripts - and then too low limits can cause them to timeout.

    Matthew Russell | Namecheap
    Twitter: @mattdrussell - hosting from a registrar DONE RIGHT!

  4. #4

  5. #5
    Join Date
    Mar 2002
    New York, NY

    If it's a bunch of httpd processes that are spawning over and over, compare the pid of several httpd processes to

    There you can see who, what and why is calling apache.

    It might just be a poorly written script
    Norm Sherman @ Netacore
    Fast/Reliable cPanel hosting on premium bandwidth

  6. #6
    Join Date
    Feb 2002
    I've had issues with this: PHP scripts run under apache so it's hard to track them down if they are open looped PHP scripts which can cause a crash or something. You have to be monitoring at the time and check what is calling apache (compare PID like netacore said)
    Matthew - Burton Hosting
    low cost shared, reseller, VPS & dedicated solutions for over five years - we've got what you need. - server monitoring service for all!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts