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.

server load high please help

Discussion in 'Workarounds and Optimization' started by bhanuprasad1981, Jan 29, 2012.

  1. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    i am using mpm worker with nginx frontend and load is high average 12 on my 8 cpu server

    apache setting :-

    Code:
    Timeout 30
    TraceEnable Off
    ServerSignature Off
    ServerTokens ProductOnly
    FileETag None
    StartServers 20
    <IfModule prefork.c>
    MinSpareServers 20
    MaxSpareServers 30
    </IfModule>
    ServerLimit 250
    MaxClients 250
    MaxRequestsPerChild 1000
    KeepAlive On
    KeepAliveTimeout 1
    MaxKeepAliveRequests 100
    
    

    top:-

    Code:
    root@host [~]# top
    top - 03:37:06 up 299 days, 20:01,  1 user,  load average: 12.34, 12.46, 13.42
    Tasks: 247 total,  15 running, 231 sleeping,   0 stopped,   1 zombie
    Cpu(s): 62.0%us, 10.2%sy,  0.0%ni, 27.3%id,  0.1%wa,  0.0%hi,  0.4%si,  0.0%st
    Mem:  12290356k total, 11600312k used,   690044k free,   349816k buffers
    Swap: 12586916k total,    32944k used, 12553972k free,  8463756k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    11602 nobody    18   0  596m 187m 2272 S 101.8  1.6   0:06.76 httpd
     8208 nobody    19   0  660m 191m 2304 S 92.2  1.6   1:11.42 httpd
     9108 nobody    18   0  722m 193m 2272 S 89.9  1.6   0:54.36 httpd
     9712 nobody    18   0  658m 192m 2276 S 87.6  1.6   0:41.67 httpd
     8869 nobody    18   0  660m 193m 2296 S 85.9  1.6   1:02.16 httpd
     8115 nobody    18   0  660m 191m 2296 S 85.6  1.6   1:11.91 httpd
    27893 mysql      5 -10 1960m 715m 5028 S 78.3  6.0   1463:34 mysqld
    31411 nobody    25   0  241m 168m  920 R 40.8  1.4   5:06.46 httpd
    12022 urdufund  18   0  104m  20m 5956 R  4.6  0.2   0:00.14 php
    31409 nobody    15   0  100m  60m  852 R  3.0  0.5   0:20.83 nginx
    12027 urdufund  18   0 99.7m  15m 5764 S  2.0  0.1   0:00.06 php
    31410 nobody    15   0  105m  63m  852 S  1.7  0.5   0:18.49 nginx
    12028 myimageh  17   0 98004  11m 5584 S  1.3  0.1   0:00.04 php
    12026 myimageh  18   0 96632 9940 5164 R  1.0  0.1   0:00.03 php
    12031 myimageh  25   0 95332 8736 5212 R  0.7  0.1   0:00.02 php
    12035 myimageh  18   0 95068 7836 4600 R  0.7  0.1   0:00.02 php
     4735 root      15   0 12880 1224  820 R  0.3  0.0   0:00.40 top
    12034 myimageh  25   0 93876 7016 4408 R  0.3  0.1   0:00.01 php
    26124 root      18   0  133m  24m 1096 S  0.3  0.2   0:36.47 cxs
        1 root      15   0 10356  544  512 S  0.0  0.0   1:10.29 init
        2 root      RT  -5     0    0    0 S  0.0  0.0   2:28.28 migration/0
        3 root      34  19     0    0    0 S  0.0  0.0   0:20.08 ksoftirqd/0
        4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
        5 root      RT  -5     0    0    0 S  0.0  0.0   1:31.08 migration/1
        6 root      34  19     0    0    0 S  0.0  0.0   0:30.98 ksoftirqd/1
    
    
    i am also running mod_security,with no opcode cache
    please let me know if you need any more details

    thanks in advance.
     
Loading...

Share This Page