Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
languagesql
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
languagesql
ps -f -u uptime | grep java

...


Get the PID for java and insert below.
Code Block
languagesql
# lsof | grep <PID> | wc -l

...


If this is more than the number of files allowed to the user, we could be broken.
Code Block
languagesql
# ulimit -n

...


Shows the number of files the user can get (need to be logged in as the Uptime user).