Page 1 of 2
Nagios XI Performance Issues-RAM Utilization
Posted: Wed Sep 11, 2013 5:04 am
by anoop
Dear Team,
We have installed Nagios XI Server in CentOS 6.3 64 bit with 32GB of RAM and 16 core processor.
Now, we have added 350 hosts with total 3100 Services which are all active checks but my RAM Utilization in going upto 14GB maximum for 3100 services and CPU Utilization is not crossing maximum of 7%, Then we rebooted our Nagios XI Server and RAM Utiilization went down to 3GB .. and even cache memory is utlizing 6GB ..
Please let us know the behaviour of my server and suggest us better performance..
Thanks in advance
Re: Nagios XI Performance Issues-RAM Utilization
Posted: Wed Sep 11, 2013 11:54 am
by slansing
This is a bit odd, what types of checks are you running? How many are active or passive, and what plugins are they using? i.e. active SNMP checks? Nrpe checks? Etc.. Do you have anything else running on the system besides nagios XI? Have you taken a look at your "TOP" and tried to find where the memory is being held or allocated to? Are you sure this is not just SWAP?
Re: Nagios XI Performance Issues-RAM Utilization
Posted: Wed Sep 11, 2013 12:53 pm
by anoop
hi,
Active Service Checks
1-min 607
5-min 3116
15-min 3247
No passive checks
we auto discovered the 338 machines with default services and only one one switch with SNMP monitor & two machines with NRPE and one machine with NRDS.
Only Nagios Xi server installed and we offloaded Database to other machine. For top command only apache and nagios exists..
Re: Nagios XI Performance Issues-RAM Utilization
Posted: Wed Sep 11, 2013 1:50 pm
by slansing
How about the other question, have you been able to track where that memory is being allocated? And are you sure it is not dedicated to swap? Is it possible you still have an autodiscovery job running in the background?
Re: Nagios XI Performance Issues-RAM Utilization
Posted: Wed Sep 11, 2013 10:15 pm
by anoop
Hi,
We have given swap memory as 2GB, it is not dedicated to swap... and there are no auto discovery jobs are running.. but we given storage as 50GB and does it creating any problem with the storage..??
Re: Nagios XI Performance Issues-RAM Utilization
Posted: Thu Sep 12, 2013 9:44 am
by sreinhardt
So this memory issue was not happening after you started the autodiscovery task that you mentioned in your other thread? 50GB would not be an issue, however if you have 32GB ram, it is normally suggested to have around that in swap space as well. It normally wouldn't be needed just by nagios, unless you have a very large install. Also, do you happen to be scheduling any reports when this memory issue happens?
Re: Nagios XI Performance Issues-RAM Utilization
Posted: Thu Sep 12, 2013 10:00 am
by anoop
Hi Team,,
Im attaching my status files and please explain us where we are doing mistake...
We didn't given any scheduling reports and if i reboot my server, RAM utilization in going down drastically..
Suggest us how to reduce the RAM Utilization for a better performance..
Thanks
Re: Nagios XI Performance Issues-RAM Utilization
Posted: Thu Sep 12, 2013 11:01 am
by sreinhardt
At this point, it has only been stated that memory is being used heavily, not what is using the memory. Could you post the output of the following commands please.
Code: Select all
top 1
ps -euf
ps -amcwwwxo "command %mem %cpu" | grep -v grep | head -25
Re: Nagios XI Performance Issues-RAM Utilization
Posted: Mon Sep 16, 2013 12:23 am
by anoop
HI Team,
As per ur suggestion i have taken the outputs of
ps -euf
top 1--------command not working...... i have taken output for "top"
ps -euf------ attached output ... please find the attachment.
ps -amcwwwxo "command %mem %cpu" | grep -v grep | head -25----------- command is not working... please let me know the command exactly..
Now my RAM Utilization went to 22GB out of 32GB..
Not able to understand from where the utilization is taking..
Please help us out is solving the issue..
Thanks
Re: Nagios XI Performance Issues-RAM Utilization
Posted: Mon Sep 16, 2013 9:53 am
by abrist
Both of those screenshots show very little memory usage. Lets check how much of those 10gbs are disk caching: