High CPU load on CentOS 7 (Nagios Server) due to Java

General support questions
Post Reply
io.unix
Posts: 1
Joined: 2018/12/17 08:16:13

High CPU load on CentOS 7 (Nagios Server) due to Java

Post by io.unix » 2018/12/17 08:36:16

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?

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: High CPU load on CentOS 7 (Nagios Server) due to Java

Post by avij » 2018/12/17 08:39:23

If the newer versions seem to work fine, how about updating both to the currently supported CentOS version, 7.6.1810?

yum update

Post Reply