• Home
  • Linux
  • lfd on server.yourwebsite.com: Excessive resource usage

lfd on server.yourwebsite.com: Excessive resource usage

If you run your own server you may see the following message or variations of this message appearing in the root email account every few minutes. The variations are shown below.

lfd on server.yourwebsite.com: Excessive resource usage
lfd on server.yourwebsite.com: Excessive resource usage: postfix
lfd on server.yourwebsite.com: Excessive resource usage: php
lfd on server.yourwebsite.com: Excessive resource usage: httpd
lfd on server.yourwebsite.com: Excessive resource usage: smtpd
lfd on server.yourwebsite.com: Excessive resource usage: mysqld
lfd on server.yourwebsite.com: Excessive resource usage: dovecotAccount: postfix
Resource: Process Time
Exceeded: 5404 > 1800 (seconds)
Executable: /usr/libexec/postfix/pickup
Command Line: pickup -l -t fifo -u
PID: 23587 (Parent PID:14174)
Killed: No

This is because you have installed the  CSF firewall into your server and have not configured what warnings to ignore. If you do not tell CSF to ignore certain processes then you will get warning emails constantly. To resolve this issue dow the following.

Log into your server via SSH with root privileges. Now using your txt editor edit the following file name csf.pignore

nano /etc/csf/csf.pignore

Then scroll to the bottom of the file. You will already see a number of processes that are being ignored.

CSF ignore process

In the email you have received you will see the process that CSF is giving a warning about. As seen below note down the executable path.
CSF executable

Then simple add the lines with the EXE: prefix to the bottom of your csf.pignore file as seen below.

exe:/usr/bin/php
exe:/usr/bin/httpd
exe:/usr/sbin/httpd
exe:/usr/libexec/postfix/smtpd
exe:/usr/libexec/mysqld
exe:/usr/libexec/dovecot/anvil

Once done restart csf with the following command.

csf -x

Then restart

csf -e

Tags: centos, csf

Allen White

Allen is a Consultant for ITPS in the North East of England and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5 and HP ASE, AIS - Network Infrastructure.

Leave a comment

Categories

Vote!

What Web Browser Do You Use?

View Results

Loading ... Loading ...

Vote!

What do you prefer..VMware or Hyper-V?

View Results

Loading ... Loading ...