accumulated load by user
Is there a way to see the accumulated load by cPanel user, let's say on a 24h basis? I want to quantify which cpanel account is causing how much load but they have different peak times and I can't find out using any given time load.
-
Hey there! No, there is no such tool available on a typical server. If you wanted to see data about specific users and limit those users I would strongly recommend looking into CloudLinux:
https://www.cloudlinux.com/features/
That will let you set limits for each user on the system and ensure that one user can't take an entire server offline.
0 -
To just view the load, under WHM there's Server Status->Daily Process Log which should provide daily CPU % and memory % per user (with a list of top processes used). You can go backwards in time if necessary to see old data.
Alternatively, cPanel/WHM does come with Munin (cPanel->Manage Plugins - see https://support.cpanel.net/hc/en-us/articles/1500001480841-How-to-install-Munin-on-cPanel) and you may find plugins such as https://gallery.munin-monitoring.org/plugins/munin-contrib/cpubyuser/ useful (I've never attempted to install Munin plugins in cPanel myself before).
Failing that, there are plenty of 3rd party server monitoring tools available which should be able to get data like this for you (and I believe sometime in the next few months, cPanel will be introducing the https://360monitoring.com [also owned by WebPros who own cPanel+Plex] service - https://features.cpanel.net/c/76-server-monitoring-for-cpanel-360-monitoring ) which might help.
0 -
The Server Status->Daily Process Log will do just fine for now! Thanks!
It seems that I receive a lot of traffic to the xmlrpc.php of various users containing wordpress sites that should have minimal traffic. I am disabling it via htaccess.
0 -
Disabling that via .htaccess is a great solution - there is some more discussion about the xmlrpc file here: https://support.cpanel.net/hc/en-us/articles/4408765117847-What-to-do-if-you-suspect-xmlrpc-php-files-are-being-exploited
0
Please sign in to leave a comment.
Comments
4 comments