How can I raise the open file limit for the login failure daemon?

Overview

The Login Failure Daemon (LFD) may terminate unexpectedly when monitoring a high volume of domains in Plesk due to exceeding the server's open file descriptor limit. Increasing this limit prevents service interruptions and ensures stable firewall operations.

Prerequisites

  • Root or sudo access to the server

Procedure

Follow these steps to increase the open file limit for the LFD service:

  1. Create a systemd override configuration for the login failure daemon by executing the following command:
    systemctl edit lfd.service
  2. In the text editor that opens, add the following lines to configure the LimitNOFILE parameter under the [Service] section:
    [Service]
    LimitNOFILE=65536
  3. Save and close the editor.
  4. Apply the updated configuration by reloading the systemd manager:
    systemctl daemon-reload
  5. Restart the LFD service to apply the changes:
    systemctl restart lfd.service

Troubleshooting

If the service fails to start after applying these changes, verify that the override file was saved correctly and check the current status of the lfd.service unit:

systemctl status lfd.service
  • LimitNOFILE, lfd, stopped, crash
  • 2 Pengguna Menemukan Ini Berguna
Apakah jawaban ini membantu?

Artikel Terkait

Where are the configuration files for Juggernaut Firewall located?

Configuration files are located in the /etc/csf/ directory with the main firewall configuration...

Can I use Juggernaut Firewall to block Wordpress bruteforce attacks?

Yes we support blocking attacks like these very easily. See below for more information: How can...

How can I install or upgrade the extension?

We provide free installation and configuration for all our paid licenses. Open a support ticket...

How can I change the interface language of the extension?

Overview This article provides instructions on how to change the interface language within the...

How can I get detailed help about a specific setting?

Overview This article outlines how to access contextual assistance and detailed configuration...