Apache procs constantly rise, until apache is restarted.

Discussion in 'Apache' started by astounding, Jul 23, 2007.

  1. #1
    Hello,

    I've had this problem a long time now with my hosting network and decided to ask here hoping I get some good solutions, or if someone is willing to looking at this (I'll pay if they want).

    Here's what I mean:
    http://i15.tinypic.com/6cmpova.gif

    Problem is as you can see apache processes constantly rise infinitely, at least until I restart apache (/etc/init.d/httpd restart). The point of restart is shown in red lines.

    And after restart, it goes down again for X amount of hours then eventually rises again infinitely until it's restarted again.

    But the fact that after restart it remains down, it means it had the potential to be down all along.

    So my question is: what could be causing this and does anyone have solution to keep them low at all times (as per graphs)?

    Thanks.
    Andre
     
    astounding, Jul 23, 2007 IP
  2. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you have root access to this server?

    Open up the apache conf file and what do the following have?
    KeepAlive
    KeepAliveTimeout
    MaxClients
    MaxRequestsPerChild

    Have you run top at these peak times?
     
    cyanide, Jul 23, 2007 IP