trhosting.net

Well-Known Member
Mar 7, 2006
153
1
168
Turkey
Hello,

Sometimes when i am checking our servers, i find that the system load is at 100+.

Is there a way that check the system periodically and emails me if the system load is above 20?
I need the processlist also to find which process that caused the system load.

There may be a script for this which will run on cron. All i need is the list of processes so i can check and find the problem.

Edit:
The server has 128 GB Ram, 8 Core Xeon CPU and Hardware Sata Raid10 config.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
Hello,

Sometimes when i am checking our servers, i find that the system load is at 100+.

Is there a way that check the system periodically and emails me if the system load is above 20?
I need the processlist also to find which process that caused the system load.

There may be a script for this which will run on cron. All i need is the list of processes so i can check and find the problem.
ConfigServer Security & Firewall does exactly that.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,297
1,251
313
Houston
cPanel doesn't send specifically high load notifications - it will send stalled and hung process notifications depending on the severity selected for them in WHM>>Server Contacts>>Edit System Mail Preferences

The section in the CSF configuration is:

Code:
# Check the PT_LOAD_AVG minute Load Average (can be set to 1 5 or 15 and
# defaults to 5 if set otherwise) on the server every PT_LOAD seconds. If the
# load average is greater than or equal to PT_LOAD_LEVEL then an email alert is
# sent. lfd then does not report subsequent high load until PT_LOAD_SKIP
# seconds has passed to prevent email floods.
#
# Set PT_LOAD to "0" to disable this feature
PT_LOAD = "30"
PT_LOAD_AVG = "5"
PT_LOAD_LEVEL = "6"
PT_LOAD_SKIP = "3600"