Because the PING monitor opens files to execute the icmp.exe variable, there is a possibility that Uptime Infrastructure Monitor will consume consumes all of the available file handles for its user. Configuring
Configure ulimit settings in newer Linux distributions should be done via the following method to avoid this issue:
Code Block |
---|
|
Edit the /etc/security/limits.conf file. |
...
Add the following line: uptime soft nofiles 4096.
Restart uptime_core service. |
To verify the number of open files for the Java process on Linux:
Code Block |
---|
|
ps -f -u uptime | grep java |
...
Get the PID for java and insert below. |
Code Block |
---|
|
# lsof | grep <PID> | wc -l |
...
If this is more than the number of files allowed to the user, we could be broken. |
...
Shows the number of files the user can get (need to be logged in as the Uptime user). |