AppDynamics Application Intelligence Platform
This topic explains the importance of checking file descriptor limits and provides the steps to modify the limit for Controller installations on Linux.
If you do not set the limits for number of file descriptors, AppDynamics may produce warnings such as:
These warnings indicate that the Controller database is attempting to open more file descriptors than is permitted by the operating system. This issue can affect product integrity in larger Controller installations.
AppDynamics recommends that the maximum number of file descriptors be set to 65535 for installations in Linux environments.
As the root user, execute following command:
ulimit -S -n
If this value is less than 65535, change it to 65535 either in the profile or limits.conf file.
On Fedora as well as Ubuntu (and probably other modern Linux distributions) using /etc/security/limits.conf is the preferred method. You should put the ulimit command in /etc/profile only if the /etc/security/limits.conf does not exist.
1. Open the limits.conf file for edit:
2. Add the following lines:
<login_user> hard nofile 65535 <login_user> soft nofile 65535
Where "login_user" is the username of the Linux user who runs the Controller, such as "appdynamics".
3. Enable these limits by editing:
4. Add the line:
session required pam_limits.so
5. When you log in again as the "appdynamics" user, the limits should apply.
1. As the root user, add the following entry to the /etc/profile:
ulimit -n 65535
2. Reboot the host server and check the limit again.