CSF: LFD excessive ressource usage alert
Method 1 This method will permanently disable the LFD excessive resource usage alert. Performing this method will pose a security issue. Open the CSF Firewall configuration Modify the value of directives PT_USERMEM and PT_USERTIME to 0. PT_USERMEM = 0 PT_USERTIME = 0 Save the settings. Method 2 In this method, we will increase the values of both memory and time to disable the LFD alerts. This method is a temporary one. If any process/service uses more resources than defined, you will continue to receive the LFD alerts. Open the CSF Firewall configuration Modify the value of directives PT_USERMEM and PT_USERTIME to desired. PT_USERMEM = 500 PT_USERTIME = 150000 Save the settings Method 3 This method is a standard technique to disable the LFD alerts. In this method, we will include the particular process/service in pignore of CSF. The pignore of CSF will ignore the particular process/service included in it and hence disables the LFD alerts. Login to your server as root user. Using your favorite editor open pignore of CSF. The common location of pignore is /etc/csf/csf.pignore. Add the command line path specified in the alert to the pignore of CSF. Save changes.