High memory occupation ...

Lionel Gavage lgavage at ulg.ac.be
Mon Oct 18 07:36:32 CEST 2004


Hi,

I use Nagios v1.2 on Redhat Enterprise release 3.0. The server is a bi Xeon
2.0Ghz with 2,5Go ram. I monitore about 910 services, 255 hosts. After 1 day
of working, each nagios processes used about 180Mo of ram.

For example, the result of "top" command :

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
 9400 nagios    21   0  139M 136M  1976 S     0.0  5.4   0:00   3 nagios
 9404 nagios    21   0  139M 136M  1976 S     0.0  5.4   0:00   2 nagios
 9408 nagios    21   0  139M 136M  1976 S     0.0  5.4   0:00   1 nagios
 9412 nagios    21   0  139M 136M  1976 S     0.5  5.4   0:00   1 nagios
 9422 nagios    21   0  139M 136M  1976 S     0.7  5.4   0:00   2 nagios
 9426 nagios    21   0  139M 136M  1976 S     0.7  5.4   0:00   3 nagios
 9433 nagios    25   0  139M 136M  1976 S     0.7  5.4   0:00   1 nagios
 9441 nagios    25   0  139M 136M  1976 S     0.7  5.4   0:00   0 nagios
 9444 nagios    25   0  139M 136M  1976 S     0.7  5.4   0:00   2 nagios
 9447 nagios    25   0  139M 136M  1976 S     0.5  5.4   0:00   2 nagios
 9450 nagios    25   0  139M 136M  1976 S     0.5  5.4   0:00   1 nagios
 9453 nagios    25   0  139M 136M  1976 S     0.7  5.4   0:00   3 nagios
 9467 nagios    25   0  139M 136M  1976 S     0.9  5.4   0:00   1 nagios
 9456 nagios    25   0  139M 136M  1972 S     0.5  5.4   0:00   3 nagios
 9460 nagios    25   0  139M 136M  1972 S     0.7  5.4   0:00   2 nagios


Number of processes (often in the neighbourhoods of 150):
[root at serv25 root]# ps auxwww |grep -i nagios |wc -l
     58

I use, of course, the rpm packages from nagios site.

[root at serv25 root]# rpm -qa |grep nagios
nagios-devel-1.2-0.rhel3.dag
nagios-plugins-1.4.0alpha1-1
nagios-1.2-0.rhel3.dag


So how I can correct this problem of intensive occupation of the memory ?

I fixed the nagios.cfg parameter "max_concurrent_checks" to 300.

Thks in advance.

Lionel Gavage
Network Engineer (SeGI/ULg)
Email: lgavage at ulg.ac.be



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list