You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Since the PING monitor opens files to execute the icmp.exe variable, there is a possibility that up.time will consume all available file handles for its user.
Configuring ulimit settings in newer Linux distributions should be done via the following method to avoid this issue:

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:

# ps -f -u uptime | grep java
Get the PID for java and insert below.
# lsof | grep <PID> | wc -l
If this is more than the number of files allowed to the user, we could be broken.
# ulimit -n 
Shows the number of files the user can get (need to be logged in as the up.time user).
  • No labels