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.

Too many apache childs

Discussion in 'EasyApache' started by Greg007, Nov 7, 2009.

  1. Greg007

    Greg007 Member

    Joined:
    Dec 19, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hi all,
    I have a problem. Apache constantly increases amount of childs.
    Right now I can see 95 apache processes, at the same time WHM's "Apache Status" show:
    Code:
    4 requests currently being processed, 9 idle workers
    Why so many processes/childs when no real job.
    Something wrong with my Apache?

    P.S. I tried to apply MaxClients via WHM and pre_main_global.conf with no effect.
     
    #1 Greg007, Nov 7, 2009
    Last edited: Nov 7, 2009
  2. Greg007

    Greg007 Member

    Joined:
    Dec 19, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Right now I have 42 apache childs:

    Code:
    top - 01:36:55 up 3 days, 16:06,  1 user,  load average: 1.15, 1.61, 1.64
    Tasks: 212 total,   1 running, 211 sleeping,   0 stopped,   0 zombie
    Cpu(s):  5.5%us,  5.5%sy, 11.5%ni, 74.4%id,  2.7%wa,  0.0%hi,  0.5%si,  0.0%st
    Mem:   2074156k total,  1986740k used,    87416k free,    80080k buffers
    Swap:  1003960k total,    65028k used,   938932k free,   609444k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
     6709 mysql     15   0  176m  67m 3940 S    3  3.3 196:02.31 mysqld
     8022 nobody    33  18  338m  55m 7936 S   21  2.7   0:01.36 httpd
     7571 nobody    34  18  338m  55m 7884 S    0  2.7   0:00.78 httpd
     7608 nobody    33  18  338m  55m 7896 S    0  2.7   0:02.88 httpd
    21640 nobody    33  18  338m  55m 7888 S    0  2.7   0:01.77 httpd
     8717 nobody    33  18  340m  54m 7084 S    0  2.7   0:00.39 httpd
    21674 nobody    33  18  340m  54m 7092 S    0  2.7   0:00.61 httpd
    21447 root      33  18  335m  54m 9720 S    0  2.7   3:03.57 httpd
     9912 nobody    34  18  335m  51m 6488 S    0  2.5   0:00.11 httpd
    10661 nobody    33  18  335m  51m 6416 S    0  2.5   0:00.12 httpd
    10623 nobody    33  18  335m  51m 6416 S    0  2.5   0:00.08 httpd
    13323 nobody    33  18  335m  51m 6404 S    0  2.5   0:00.02 httpd
    21638 nobody    33  18  335m  49m 4988 S    0  2.5   0:00.00 httpd
     6713 named     23   0 93660  47m 1524 S    1  2.3  50:01.00 named
    21637 root      33  18  331m  47m 4612 S    0  2.3   0:00.00 httpd
    18024 root      33  18  330m  47m 4612 S    0  2.3   0:00.00 httpd
    12598 root      33  18  329m  46m 4612 S    0  2.3   0:00.01 httpd
    12506 root      33  18  327m  46m 4612 S    0  2.3   0:00.00 httpd
    12344 root      33  18  326m  46m 4612 S    0  2.3   0:00.00 httpd
    12276 root      33  18  325m  46m 4612 S    0  2.3   0:00.00 httpd
    11689 root      33  18  324m  46m 4612 S    0  2.3   0:00.01 httpd
    
    At the same time in Apache Status:
    Code:
    2.2 requests/sec - 20.0 kB/second - 9.1 kB/request
    14 requests currently being processed, 1 idle workers
    
    WCCCWWKCWKCWW_.C................................................
    ................
    Is it normal to have this number of childs each take 2% of memory during 2.2 req/sec ?
     
Loading...
Similar Threads - Too many apache
  1. watchdubbed.xyz
    Replies:
    1
    Views:
    137

Share This Page