ConfigServer Services HelpDesk
Server Management Services from Way to The Web Ltd
ConfigServer Home Page

Store Closure for Short Break

We will be closing our Store, Email and Helpdesk from 09:00 GMT Wednesday, 30 November 2022 to 09:00 GMT Wednesday, 7 December 2022. No orders, support requests or sales emails will be processed between those dates.

If you purchase a license or Service Package before the closing date and require installation, please be sure to leave at least 24 hours before then for the work to be done. Otherwise, any work will be scheduled for after this period.

There was a problem loading the comments.

I am experiencing performance problems/high load with lfd

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
If you're seeing performance with lfd, the following may help you track down where the problem lies. Do be sure that there is actually a performance issue with lfd and that you're not relying on the information in WHM on performance as it is dubious at best and worthless at worst. The only realistic way to determine if performance is being affected is to run the top shell utility and see if lfd is consuming resources and affecting load average. Remember while in top to view the command line of processes (by pressing c) as this will show the full process name of lfd which will show what it is currently processing. You should then try the following:

1. Make sure you're running the latest version of csf

2. Make sure syslog is not logging duplicate lines by checking /etc/syslog.conf

3. Look at /var/log/lfd.log and see if it is having to throttle any of the checks. For example (and typically), if it is having to continually throttle LF_DIRWATCH then you either need to clear out your /tmp more often or disable that feature on csf.conf

4. If you're still unable to track performance issues, try disabling the following in /etc/csf/csf/csf.conf in turn or all together:

LF_DIRWATCH = "0"
CT_LIMIT = "0"
LF_HTACCESS = "0"
LF_MODSEC = "0"
LF_DIRWATCH_FILE = "0"
PT_LIMIT = "0"
Remember to restart csf and lfd after making any changes to csf.conf:

csf -ra

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© ConfigServer Services