The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Please please help on httpd.conf

Discussion in 'General Discussion' started by desiguru, Apr 28, 2011.

  1. desiguru

    desiguru Well-Known Member

    Joined:
    Aug 27, 2008
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Here is my httpd.conf but lately it makes my server has been running out of memory. Can someone please shed some light on how I can try top fix it?

    Code:
    # These can be set in WHM under 'Apache Global Configuration'
    Timeout 300
    TraceEnable Off
    ServerSignature Off
    ServerTokens ProductOnly
    FileETag None
    <IfModule prefork.c>
    StartServers       800
    MinSpareServers    80
    MaxSpareServers   240
    ServerLimit      5120
    MaxClients       5120
    MaxRequestsPerChild  20000
    </IfModule>
    
     
  2. lijeeshsd

    lijeeshsd Active Member

    Joined:
    Apr 22, 2005
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    How much memory your server has? Does it host any high traffic site? If so, what is the average number of hits?
     
  3. ramindia

    ramindia Well-Known Member

    Joined:
    Apr 3, 2011
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    ya

    better post your complete information to help

    like hardware/ RAM / Version of Cpanel WHM
     
  4. desiguru

    desiguru Well-Known Member

    Joined:
    Aug 27, 2008
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    hardware: Intel Quad Core Xeon 3220 - 4 x 2.40GHz
    RAM: 8GB
    Version of Cpanel WHM: WHM/cPanel 11.28.87


    Current apache status

    On server 1

    Current Time: Thursday, 28-Apr-2011 15:03:40 CDT
    Restart Time: Tuesday, 01-Mar-2011 17:37:45 CST
    Parent Server Generation: 3
    Server uptime: 57 days 20 hours 25 minutes 55 seconds
    Total accesses: 42584948 - Total Traffic: 373980.4 GB
    CPU Usage: u753.58 s389.38 cu0 cs0 - .0229% CPU load
    8.52 requests/sec - 76.6 MB/second - 9.0 MB/request
    444 requests currently being processed, 206 idle workers

    On server 2

    Current Time: Thursday, 28-Apr-2011 15:03:16 CDT
    Restart Time: Wednesday, 27-Apr-2011 14:15:14 CDT
    Parent Server Generation: 2
    Server uptime: 1 day 48 minutes 1 second
    Total accesses: 936179 - Total Traffic: 6.6 GB
    CPU Usage: u1894.11 s296.11 cu0 cs0 - 2.45% CPU load
    10.5 requests/sec - 77.3 kB/second - 7.4 kB/request
    72 requests currently being processed, 170 idle workers
     
Loading...

Share This Page