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.

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:
    1
    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:
    387
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    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.
     
  3. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    387
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    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.
     
  4. tyggis

    tyggis Registered

    Joined:
    Dec 28, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page