Apache processes not ending / taking memory away

Discussion in 'Apache' started by sv800, Apr 20, 2006.

  1. #1
    Hi, I need some assistance to fix a low memory error.
    When error occurs, I can not open Cpanel or WHM administrator, because
    the server memory usage is almost 100%, httpd is fine however can access email services or cpanel.

    I found one of my scripts is stuck...
    I tried to reproduce the error, and I get timeout at the browser, however the apache process never dies. It is stuck processing.
    Unless I start up the httpd service the process never dies.

    When I want to monitor the process I can not access the WHM...so it is like a dead end...

    Any suggestions:

    Here are the httpd.conf variables

    Timeout 200
    KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeout 3
    MinSpareServers 10
    MaxSpareServer 20
    StartServers 5
    Clients 250
    RequestsPerChild 0
     
    sv800, Apr 20, 2006 IP
  2. forkqueue

    forkqueue Guest

    Messages:
    401
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That would seem to be the problem. Change this value to 10000 and you shouldn't see the issue again.
     
    forkqueue, Apr 24, 2006 IP