Hi Team:
We are running CentOS 7 as Nagios server on our environment. CPU load is getting spiked due a particular check configured to check AS400 system.
The check script using Java and generated CPU load average of 30+ on 6 CPU core Nagios server. When we stopped this particular check for monitoring the remote AS400, CPU load on Nagios server reduced right away and remains normal.
There are multiple Java processes getting spawned and some of AS400 checks are getting timed out by Nagios server.
PROD:
CentOS version:7.4.1708
Java version: java-1.7.0_121
Whereas, we have similar Nagios server in TEST environment with below level works fine. There is no CPU load noticed.
TEST:
CentOS version: 7.5.1804
Java version: java is 1.7.0_191
For sure, we are looking forward to get OS/Java level on PROD as equivalent to TEST. Any other suggestions or ideas to fix this problem?
High CPU load on CentOS 7 (Nagios Server) due to Java
Re: High CPU load on CentOS 7 (Nagios Server) due to Java
If the newer versions seem to work fine, how about updating both to the currently supported CentOS version, 7.6.1810?
yum update
yum update