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.

which user is using to much cpu load ?

Discussion in 'General Discussion' started by ezztro, Jun 13, 2005.

  1. ezztro

    ezztro Well-Known Member

    Joined:
    Nov 11, 2003
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    how can i find, which user ist using to much cpu load ?
    every day in the afternoon, cpu is 12+ and at top is

    824 root 15 0 8776 8400 4056 S 98,4 0,4 65:58 0 /usr/local/apache/bin/httpd -DSSL

    At CPU / Memory Usage WHM i cant see no user, that is using so many cpu load.

    Thank you.

    sorry or my bad englisch
     
  2. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    I think you have issues with apache config. If you had a lot of hits you'd have a lot of httpd processes running.

    You should set apache to run with user nobody, not root.
     
  3. ezztro

    ezztro Well-Known Member

    Joined:
    Nov 11, 2003
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    16
    apache is running with "nobody" root is the main process.

    Code:
    nobody     636  0.0  0.0  4344  284 ?        SL   Jun09   0:00 proftpd: (accepting connections)
    nobody   21989  2.2  1.1 33984 23244 ?       S    10:16  13:13 /usr/local/apache/bin/httpd -DSSL
    nobody   22225  1.9  1.1 33960 23180 ?       S    10:21  11:08 /usr/local/apache/bin/httpd -DSSL
    nobody   22341  2.1  1.0 32708 22004 ?       S    10:26  12:18 /usr/local/apache/bin/httpd -DSSL
    nobody   22384  1.8  0.9 30712 19996 ?       S    10:27  10:21 /usr/local/apache/bin/httpd -DSSL
    nobody   22397  2.2  0.9 29748 19008 ?       S    10:28  12:37 /usr/local/apache/bin/httpd -DSSL
    nobody   22398  1.8  0.9 31160 20372 ?       S    10:28  10:44 /usr/local/apache/bin/httpd -DSSL
    nobody   22419  2.2  1.0 33348 22652 ?       S    10:28  12:36 /usr/local/apache/bin/httpd -DSSL
    nobody   22617  2.4  1.0 33220 22240 ?       S    10:31  13:47 /usr/local/apache/bin/httpd -DSSL
    nobody   22724  2.1  1.1 34084 23332 ?       S    10:36  12:01 /usr/local/apache/bin/httpd -DSSL
    nobody   22971  2.2  0.8 28876 18144 ?       S    10:41  12:21 /usr/local/apache/bin/httpd -DSSL
    
     
Loading...

Share This Page