Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Log resource usage on each cPanel account

Discussion in 'General Discussion' started by tyggis, Dec 28, 2011.

  1. tyggis

    tyggis Registered

    Joined:
    Dec 28, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Reseller Owner
    I use WHM and have about 60 cPanel account on that WHM. One of the accounts is using so much resources some nights about 2 o`clock the serveres crashes. How can I log each accounts resouce usage so I know witch account to ban?

    Thanks.
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    407
    Likes Received:
    3
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You can look at "Main >> Server Status >> Daily Process Log" to identify the suers which use high system resources. If you would like to limit resources / user , use CloudLinux or HIVE.

    If the user bring the server into its knee via http hits, apache rlimit might help ( Apache Core Features ).

    Thank you,
    Nibin.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    407
    Likes Received:
    3
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Also, check the cron job log file and identify the jobs run , logs in /var/log/messages right before the server crash and cross check them.

    Thank you,
    Nibin.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. tyggis

    tyggis Registered

    Joined:
    Dec 28, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Reseller Owner
    Thanks.
    Unfortunately the server goes down so quickly that no account show in the Daily Process Log that it uses more resources. The company that runs the server says that it is mysql activity that causes it.
     
  5. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice