Increase file descriptor limits in a systemv environment to enable PingAccess to handle a high volume of concurrent requests.
- Edit the /etc/security/limits.conf file.
-
Add or modify the following lines:
<pingAccessAccount> soft nofile <value> <pingAccessAccount> hard nofile <value>
<pingAccessAccount>
is the user account used to run the PingAccess java process, or*
for all users, and <value> is the new value. A 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 could 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.