Increasing file descriptor limits (systemd) - PingAccess - 8.0

PingAccess

bundle
pingaccess-80
ft:publication_title
PingAccess
Product_Version_ce
PingAccess 8.0 (Latest)
category
Product
pa-80
pingaccess
ContentType_ce

Increase file descriptor limits in a systemd environment to enable PingAccess to handle a high volume of concurrent requests.

  1. Open the /etc/systemd/system/pingaccess.service file.
  2. Modify the following line under the [Service] section.
    LimitNOFILE=<value>
    <value> is the new value. The default value of 65536 (64K) should be sufficient for most environments.
    Note:

    The number of open file descriptors is limited by the physical memory available to the host. You can determine this limit with the following command.

    cat /proc/sys/fs/file-max

    If the file-max value is significantly higher than the 65536 limit, consider increasing the file descriptor limit to between 10% and 15% of the system-wide file descriptor limit. For example, if the file-max value is 810752, you can set the file descriptor limit to 100000. If the file-max value is lower than 65536, the host is likely not sized appropriately for PingAccess.

  3. Run the following command as root.
    systemctl daemon-reload
  4. Restart the PingAccess service.