Press "Enter" to skip to content

Disable lfd Excessive resource usage mail

To disable lfd Excessive resource usage email alert, You can edit your settings via the GUI or directly in the /etc/csf/csf.conf file or run these commands:

sed -i '/PT_ALL_USERS = /cPT_ALL_USERS = "0"' /etc/csf/csf.conf
sed -i '/PT_USERPROC = /cPT_USERPROC = "0"' /etc/csf/csf.conf
sed -i '/PT_USERMEM = /cPT_USERMEM = "0"' /etc/csf/csf.conf
sed -i '/PT_USERTIME = /cPT_USERTIME = "0"' /etc/csf/csf.conf
sed -i '/PT_USERKILL = /cPT_USERKILL = "0"' /etc/csf/csf.conf
sed -i '/PT_USERKILL_ALERT = /cPT_USERKILL_ALERT = "0"' /etc/csf/csf.conf
csf -r
service lfd restart

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *