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

Compare with Current View Page History

Version 1 Next »

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:

\n
  • Edit the /etc/security/limits.conf file.
  • Add the following line: uptime soft nofiles 4096.
  • Restart uptime_core service.
\n

To verify the number of open files for the Java process on Linux:

\n
\n

# ps -f -u uptime | grep java 
Get the PID for java and insert below.

\n


# lsof | grep <PID> | wc –l 
If this is more than the number of files allowed to the user, we could be broken.

\n

# ulimit -n 
Shows the number of files the user can get (need to be logged in as the up.time user).

  • No labels