Versions Compared

Key

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

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: 

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.
Code Block
# ulimit -n 
Shows the number of files the user can get (need to be logged in as the up.time 

If this is more than the number of files allowed to the user, we could be broken.

 

...

user).