2

My host mailbox is filled up with 1 GB of lfd notifications like:

  • excessive resource usage notifications
  • Suspicious process running under user XXXX

How can I disable these?

There was no lfd tag and I cannot create one...

PS: I am using Webmin, can I do it from there?

giorgio79
  • 1,957

3 Answers3

3

Edit /etc/csf/csf.conf and look for LF_ directives. Restart csf (csf -r) once you are done.

devicenull
  • 5,630
3

Edit /etc/csf/csf.conf and find PT_USERMEM and PT_USERTIME and set value 0 for both.

Like this:

PT_USERMEM = "0"

PT_USERTIME = "0"

After save restart CSF by csf -r

also dont forget to restart lfd using # service lfd restart

Shiv Singh
  • 161
  • 10
2

It can be handy to use CSF/LFD UI interface available for Webmin. From it you can manage CSF/LFD settings.

http://www.configserver.com/free/csf/install.txt:

Webmin Module Installation/Upgrade

To install or upgrade the csf webmin module:

Install csf as above Install the csf webmin module in: Webmin > Webmin Configuration > Webmin Modules > From local file > /etc/csf/csfwebmin.tgz > Install Module

lik
  • 176
  • 2