Disable alert from CSF for Excessive resource usage?

dadangku

Registered
Jun 26, 2018
1
0
1
indonesia
cPanel Access Level
Website Owner
hello
please help anyone...
im very new with cpanel
i just received email alert like 10 emails per 10 second
its huge emails, like 300 emails per hours or more

and i want to know
how to stop alert notification from root for Excessive resource usage: Virtual Memory
in WHM where location to setting to stop it

the alert message is like this:
---------------------------

lfd on server.mydomain.top: Excessive resource usage: usernameku (3269 (Parent PID:23956))

Time: Tue Jun 26 04:19:54 2018 -0500
Account: usernameku
Resource: Virtual Memory Size
Exceeded: 544 > 512 (MB)
Executable: /opt/cpanel/ea-php56/root/usr/sbin/php-fpm
Command Line: php-fpm: pool example_com
PID: 3269 (Parent PID:23956)
Killed: No



please help
thank you
 

rpvw

Well-Known Member
Jul 18, 2013
1,100
472
113
UK
cPanel Access Level
Root Administrator
Add the following code to your /etc/csf/csf.pignore file (this can be done in a terminal, or via WHM >> Home » Plugins » ConfigServer Security & Firewall > edit <select csf.pignore, Process Tracking> from the dropdown) and then save and restart CSF/LFD
Code:
pexe:/opt/cpanel/ea-php*/root/usr/sbin/php-fpm
 
  • Like
Reactions: cPanelMichael

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
  • Like
Reactions: Samet Chan

Zebble

Registered
Feb 3, 2020
1
1
1
Canada
cPanel Access Level
DataCenter Provider
Add the following code to your /etc/csf/csf.pignore file (this can be done in a terminal, or via WHM >> Home » Plugins » ConfigServer Security & Firewall > edit <select csf.pignore, Process Tracking> from the dropdown) and then save and restart CSF/LFD
Code:
pexe:/opt/cpanel/ea-php*/root/usr/sbin/php-fpm
This solution is correct but the syntax is wrong. The pattern matching is not proper regex so this doesn't end up working. This should read:

Code:
pexe:/opt/cpanel/ea-php.*/root/usr/sbin/php-fpm
Then restart lfd/cfd and you're good to go.
 
  • Like
Reactions: ssvapes

ssvapes

Registered
Dec 2, 2021
1
1
3
usa
cPanel Access Level
Root Administrator
This solution is correct but the syntax is wrong. The pattern matching is not proper regex so this doesn't end up working. This should read:

Code:
pexe:/opt/cpanel/ea-php.*/root/usr/sbin/php-fpm
Then restart lfd/cfd and you're good to go.
12/2/2021
This worked for me. The various forums are filled with different ways to solve this but this is the only one that finally worked for me. TYVM ZEBBLE
 
  • Like
Reactions: cPanelAnthony