Page 1 of 1

Nagios XI Memory usage growing

Posted: Fri Dec 12, 2014 11:20 am
by krobertson71
I have a test Nagios XI 2014 r2.0, posted about this server before, and noticed after a reboot the memory utilization is around 950mb. 4 days later it's at 2.1 gb.

I did a stress test on this box, some of you may have seen the thread on here, where I was doing 1138 checks per minute and It stayed solid around 2.4 gig on memory usage. I have since removed all those extra hosts and service checks down to only around 144 checks and 25 hosts. I did add check_smtp and check_SMTP_send checks to one mail relay server since then, runs every 5 minutes.

Just curious what could be going on. I did adjust the rescheduling intervals to adjust for the 1 minute checks and have not changed it back.. Most checks are 5 mins in my test environment now.

Here is a screenshot of my performance dashboard.. Just want to know if this is normal or do I have something set incorrectly, like the reschedule intervals, that is causing memory growth in a now smaller environment.

Re: Nagios XI Memory usage growing

Posted: Fri Dec 12, 2014 12:17 pm
by lmiltchev
I believe there is a ndo memory leak. Our developers are working on the issue. I expect this to be fixed in the next release of XI.

Re: Nagios XI Memory usage growing

Posted: Fri Dec 12, 2014 2:55 pm
by krobertson71
I have tried to restart nagios and ndo2db but it does not affect the memory usage.

Is there another service I am missing that I can restart or just rebooting the machine altogher is needed?

Re: Nagios XI Memory usage growing

Posted: Fri Dec 12, 2014 3:43 pm
by tgriep
Your memory usage doesn't look too bad but could you run the following command and post the results so we can look at the running processes?

Code: Select all

ps aux

Re: Nagios XI Memory usage growing

Posted: Fri Dec 12, 2014 4:26 pm
by krobertson71
Here you go. You could be right. This was about the same when I had put in about 350ish test hosts running checks on 1 min intervals..

Code: Select all

[kar54@nagiast01 init.d]$ ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  19360  1536 ?        Ss   Dec10   0:01 /sbin/init
root         2  0.0  0.0      0     0 ?        S    Dec10   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Dec10   0:01 [migration/0]
root         4  0.0  0.0      0     0 ?        S    Dec10   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S    Dec10   0:00 [stopper/0]
root         6  0.0  0.0      0     0 ?        S    Dec10   0:00 [watchdog/0]
root         7  0.0  0.0      0     0 ?        S    Dec10   0:05 [migration/1]
root         8  0.0  0.0      0     0 ?        S    Dec10   0:00 [stopper/1]
root         9  0.0  0.0      0     0 ?        S    Dec10   0:01 [ksoftirqd/1]
root        10  0.0  0.0      0     0 ?        S    Dec10   0:00 [watchdog/1]
root        11  0.0  0.0      0     0 ?        S    Dec10   0:01 [migration/2]
root        12  0.0  0.0      0     0 ?        S    Dec10   0:00 [stopper/2]
root        13  0.0  0.0      0     0 ?        S    Dec10   0:00 [ksoftirqd/2]
root        14  0.0  0.0      0     0 ?        S    Dec10   0:00 [watchdog/2]
root        15  0.0  0.0      0     0 ?        S    Dec10   0:05 [migration/3]
root        16  0.0  0.0      0     0 ?        S    Dec10   0:00 [stopper/3]
root        17  0.0  0.0      0     0 ?        S    Dec10   0:01 [ksoftirqd/3]
root        18  0.0  0.0      0     0 ?        S    Dec10   0:00 [watchdog/3]
root        19  0.0  0.0      0     0 ?        S    Dec10   0:08 [events/0]
root        20  0.0  0.0      0     0 ?        S    Dec10   0:08 [events/1]
root        21  0.0  0.0      0     0 ?        S    Dec10   0:08 [events/2]
root        22  0.0  0.0      0     0 ?        S    Dec10   0:11 [events/3]
root        23  0.0  0.0      0     0 ?        S    Dec10   0:00 [cgroup]
root        24  0.0  0.0      0     0 ?        S    Dec10   0:00 [khelper]
root        25  0.0  0.0      0     0 ?        S    Dec10   0:00 [netns]
root        26  0.0  0.0      0     0 ?        S    Dec10   0:00 [async/mgr]
root        27  0.0  0.0      0     0 ?        S    Dec10   0:00 [pm]
root        28  0.0  0.0      0     0 ?        S    Dec10   0:00 [sync_supers]
root        29  0.0  0.0      0     0 ?        S    Dec10   0:00 [bdi-default]
root        30  0.0  0.0      0     0 ?        S    Dec10   0:00 [kintegrityd/0]
root        31  0.0  0.0      0     0 ?        S    Dec10   0:00 [kintegrityd/1]
root        32  0.0  0.0      0     0 ?        S    Dec10   0:00 [kintegrityd/2]
root        33  0.0  0.0      0     0 ?        S    Dec10   0:00 [kintegrityd/3]
root        34  0.0  0.0      0     0 ?        S    Dec10   0:05 [kblockd/0]
root        35  0.0  0.0      0     0 ?        S    Dec10   0:05 [kblockd/1]
root        36  0.0  0.0      0     0 ?        S    Dec10   0:05 [kblockd/2]
root        37  0.0  0.0      0     0 ?        S    Dec10   0:04 [kblockd/3]
root        38  0.0  0.0      0     0 ?        S    Dec10   0:00 [kacpid]
root        39  0.0  0.0      0     0 ?        S    Dec10   0:00 [kacpi_notify]
root        40  0.0  0.0      0     0 ?        S    Dec10   0:00 [kacpi_hotplug]
root        41  0.0  0.0      0     0 ?        S    Dec10   0:00 [ata_aux]
root        42  0.0  0.0      0     0 ?        S    Dec10   0:00 [ata_sff/0]
root        43  0.0  0.0      0     0 ?        S    Dec10   0:00 [ata_sff/1]
root        44  0.0  0.0      0     0 ?        S    Dec10   0:00 [ata_sff/2]
root        45  0.0  0.0      0     0 ?        S    Dec10   0:00 [ata_sff/3]
root        46  0.0  0.0      0     0 ?        S    Dec10   0:00 [ksuspend_usbd]
root        47  0.0  0.0      0     0 ?        S    Dec10   0:00 [khubd]
root        48  0.0  0.0      0     0 ?        S    Dec10   0:00 [kseriod]
root        49  0.0  0.0      0     0 ?        S    Dec10   0:00 [md/0]
root        50  0.0  0.0      0     0 ?        S    Dec10   0:00 [md/1]
root        51  0.0  0.0      0     0 ?        S    Dec10   0:00 [md/2]
root        52  0.0  0.0      0     0 ?        S    Dec10   0:00 [md/3]
root        53  0.0  0.0      0     0 ?        S    Dec10   0:00 [md_misc/0]
root        54  0.0  0.0      0     0 ?        S    Dec10   0:00 [md_misc/1]
root        55  0.0  0.0      0     0 ?        S    Dec10   0:00 [md_misc/2]
root        56  0.0  0.0      0     0 ?        S    Dec10   0:00 [md_misc/3]
root        57  0.0  0.0      0     0 ?        S    Dec10   0:00 [linkwatch]
root        59  0.0  0.0      0     0 ?        S    Dec10   0:00 [khungtaskd]
root        60  0.0  0.0      0     0 ?        S    Dec10   0:00 [kswapd0]
root        61  0.0  0.0      0     0 ?        SN   Dec10   0:00 [ksmd]
root        62  0.0  0.0      0     0 ?        SN   Dec10   0:19 [khugepaged]
root        63  0.0  0.0      0     0 ?        S    Dec10   0:00 [aio/0]
root        64  0.0  0.0      0     0 ?        S    Dec10   0:00 [aio/1]
root        65  0.0  0.0      0     0 ?        S    Dec10   0:00 [aio/2]
root        66  0.0  0.0      0     0 ?        S    Dec10   0:00 [aio/3]
root        67  0.0  0.0      0     0 ?        S    Dec10   0:00 [crypto/0]
root        68  0.0  0.0      0     0 ?        S    Dec10   0:00 [crypto/1]
root        69  0.0  0.0      0     0 ?        S    Dec10   0:00 [crypto/2]
root        70  0.0  0.0      0     0 ?        S    Dec10   0:00 [crypto/3]
root        78  0.0  0.0      0     0 ?        S    Dec10   0:00 [kthrotld/0]
root        79  0.0  0.0      0     0 ?        S    Dec10   0:00 [kthrotld/1]
root        80  0.0  0.0      0     0 ?        S    Dec10   0:00 [kthrotld/2]
root        81  0.0  0.0      0     0 ?        S    Dec10   0:00 [kthrotld/3]
root        82  0.0  0.0      0     0 ?        S    Dec10   0:00 [pciehpd]
root        84  0.0  0.0      0     0 ?        S    Dec10   0:00 [kpsmoused]
root        85  0.0  0.0      0     0 ?        S    Dec10   0:00 [usbhid_resumer]
root        86  0.0  0.0      0     0 ?        S    Dec10   0:00 [deferwq]
root       117  0.0  0.0      0     0 ?        S    Dec10   0:00 [kdmremove]
root       118  0.0  0.0      0     0 ?        S    Dec10   0:00 [kstriped]
root       181  0.0  0.0      0     0 ?        S    Dec10   0:00 [scsi_eh_0]
root       182  0.0  0.0      0     0 ?        S    Dec10   0:00 [scsi_eh_1]
root       190  0.0  0.0      0     0 ?        S    Dec10   0:00 [scsi_eh_2]
root       191  0.0  0.0      0     0 ?        S    Dec10   0:00 [vmw_pvscsi_wq_2]
root       322  0.0  0.0      0     0 ?        S    Dec10   0:00 [kdmflush]
root       324  0.0  0.0      0     0 ?        S    Dec10   0:00 [kdmflush]
root       341  0.0  0.0      0     0 ?        S    Dec10   0:00 [jbd2/dm-0-8]
root       342  0.0  0.0      0     0 ?        S    Dec10   0:00 [ext4-dio-unwrit]
root       415  0.0  0.0  10904   952 ?        S<s  Dec10   0:00 /sbin/udevd -d
root       539  0.0  0.0      0     0 ?        S    Dec10   0:03 [vmmemctl]
root       634  0.0  0.0 113692  4868 ?        Ss   14:57   0:00 sshd: kar54 [priv]
root       690  0.0  0.0      0     0 ?        S    Dec10   0:00 [kdmflush]
root       691  0.0  0.0  10900   960 ?        S<   Dec10   0:00 /sbin/udevd -d
root       693  0.0  0.0      0     0 ?        S    Dec10   0:00 [kdmflush]
root       699  0.0  0.0      0     0 ?        S    Dec10   0:00 [kdmflush]
root       700  0.0  0.0  10900   936 ?        S<   Dec10   0:00 /sbin/udevd -d
root       706  0.0  0.0      0     0 ?        S    Dec10   0:00 [kdmflush]
root       711  0.0  0.0      0     0 ?        S    Dec10   0:00 [kdmflush]
root       745  0.0  0.0      0     0 ?        S    Dec10   0:01 [flush-253:2]
root       746  0.0  0.0      0     0 ?        S    Dec10   0:16 [flush-253:3]
root       747  0.0  0.0      0     0 ?        S    Dec10   0:01 [flush-253:5]
root       748  0.0  0.0      0     0 ?        S    Dec10   0:01 [flush-253:6]
root       776  0.0  0.0      0     0 ?        S    Dec10   0:00 [jbd2/sda1-8]
root       777  0.0  0.0      0     0 ?        S    Dec10   0:00 [ext4-dio-unwrit]
root       778  0.0  0.0      0     0 ?        S    Dec10   0:01 [jbd2/dm-5-8]
root       779  0.0  0.0      0     0 ?        S    Dec10   0:00 [ext4-dio-unwrit]
root       780  0.0  0.0      0     0 ?        S    Dec10   0:02 [jbd2/dm-6-8]
root       781  0.0  0.0      0     0 ?        S    Dec10   0:00 [ext4-dio-unwrit]
root       782  0.0  0.0      0     0 ?        S    Dec10   0:02 [jbd2/dm-2-8]
root       783  0.0  0.0      0     0 ?        S    Dec10   0:00 [ext4-dio-unwrit]
root       784  0.0  0.0      0     0 ?        S    Dec10   0:13 [jbd2/dm-3-8]
root       785  0.0  0.0      0     0 ?        S    Dec10   0:00 [ext4-dio-unwrit]
root       786  0.0  0.0      0     0 ?        S    Dec10   0:12 [jbd2/dm-4-8]
root       787  0.0  0.0      0     0 ?        S    Dec10   0:00 [ext4-dio-unwrit]
kar54      788  0.0  0.0 113692  1920 ?        S    14:58   0:00 sshd: kar54@pts/0
kar54      789  0.0  0.0 109612  1928 pts/0    Ss   14:58   0:00 -ksh
kar54      805  0.0  0.0 108304  1928 pts/0    S    14:58   0:00 bash
root       859  0.0  0.0      0     0 ?        S    Dec10   0:03 [kauditd]
root      1068  0.0  0.0  44568  2656 ?        Sl   Dec10   1:36 /usr/sbin/vmtoolsd
root      1169  0.0  0.0  93156   868 ?        S<sl Dec10   0:11 auditd
root      1199  0.0  0.0 255808  4140 ?        Sl   Dec10   0:05 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5
dbus      1217  0.0  0.0  21432   876 ?        Ss   Dec10   0:00 dbus-daemon --system
root      1234  0.0  0.0 189408  3768 ?        Ss   Dec10   0:00 cupsd -C /etc/cups/cupsd.conf
root      1272  0.0  0.0  66688  1264 ?        Ss   Dec10   0:00 /usr/sbin/sshd
root      1281  0.0  0.0  26412  1196 ?        Ss   Dec10   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
ntp       1301  0.0  0.0  30732  2112 ?        Ss   Dec10   0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
postgres  1486  0.0  0.0 216360  6812 ?        S    Dec10   0:18 /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data
root      1488  0.0  0.0      0     0 ?        S    Dec10   0:09 [flush-253:4]
postgres  1489  0.0  0.0 179372  1596 ?        Ss   Dec10   0:05 postgres: logger process                          
postgres  1491  0.0  0.0 216476  5012 ?        Ss   Dec10   0:28 postgres: writer process                          
postgres  1492  0.0  0.0 216360  1868 ?        Ss   Dec10   0:23 postgres: wal writer process                      
postgres  1493  0.0  0.0 216652  2100 ?        Ss   Dec10   0:09 postgres: autovacuum launcher process             
postgres  1494  0.0  0.0 179636  1816 ?        Ss   Dec10   0:29 postgres: stats collector process                 
root      1505  0.0  0.1 337884 14156 ?        Ss   Dec10   0:06 /usr/sbin/httpd
root      1512  0.0  0.3 2256624 26584 ?       Ssl  Dec10   1:37 /opt/numara-software/footprints-asset-core/client/bin/mtxagent
root      1523  0.0  0.0 117332  1244 ?        Ss   Dec10   0:07 crond
apache    1566  0.2  0.3 453952 31600 ?        S    Dec10   7:03 /usr/sbin/httpd
apache    1567  0.2  0.3 453752 31688 ?        S    Dec10   7:09 /usr/sbin/httpd
apache    1568  0.2  0.4 454436 32248 ?        S    Dec10   7:03 /usr/sbin/httpd
apache    1569  0.2  0.3 450360 28388 ?        S    Dec10   7:10 /usr/sbin/httpd
apache    1570  0.2  0.3 450424 28412 ?        S    Dec10   7:11 /usr/sbin/httpd
apache    1571  0.2  0.3 451616 29548 ?        S    Dec10   7:11 /usr/sbin/httpd
apache    1572  0.2  0.4 454640 32412 ?        S    Dec10   7:05 /usr/sbin/httpd
apache    1573  0.2  0.3 453864 31660 ?        S    Dec10   7:05 /usr/sbin/httpd
root      1574  0.0  0.0  21576   508 ?        Ss   Dec10   0:00 /usr/sbin/atd
root      1585  0.0  0.0 100924   704 ?        Ss   Dec10   0:00 rhnsd
ajaxterm  1594  0.0  0.0 170332  7808 ?        Sl   Dec10   0:45 python /usr/share/ajaxterm/ajaxterm.py --daemon --port=8022 --uid=ajaxterm
root      1605  2.1  0.2 459956 16460 ?        Sl   Dec10  64:38 /opt/BESClient/bin/BESClient
root      1659  0.0  0.0   4064   584 tty1     Ss+  Dec10   0:00 /sbin/mingetty /dev/tty1
root      1661  0.0  0.0   4064   584 tty2     Ss+  Dec10   0:00 /sbin/mingetty /dev/tty2
root      1663  0.0  0.0   4064   584 tty3     Ss+  Dec10   0:00 /sbin/mingetty /dev/tty3
root      1665  0.0  0.0   4064   584 tty4     Ss+  Dec10   0:00 /sbin/mingetty /dev/tty4
root      1667  0.0  0.0   4064   584 tty5     Ss+  Dec10   0:00 /sbin/mingetty /dev/tty5
root      1669  0.0  0.0   4064   580 tty6     Ss+  Dec10   0:00 /sbin/mingetty /dev/tty6
postgres  1727  0.0  0.0 218296  7764 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
postgres  1790  0.0  0.0 218348  7380 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
postgres  1793  0.0  0.0 218320  7248 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
postgres  1797  0.0  0.0 218376  7356 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
apache    1800  0.2  0.2 444908 22856 ?        S    Dec10   7:21 /usr/sbin/httpd
postgres  1801  0.0  0.0 218356  7804 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
postgres  1902  0.0  0.0 218324  7376 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
apache    1993  0.2  0.3 454120 31912 ?        S    Dec10   7:08 /usr/sbin/httpd
postgres  1994  0.0  0.0 218316  7324 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
postgres  1998  0.0  0.0 218312  7216 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
postgres  2001  0.0  0.0 218288  7140 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
postgres  2002  0.0  0.0 218240  6992 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
root      3750  0.0  0.0 108168  1564 ?        S    Dec10   0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mys
mysql     3852  0.3  0.5 2231580 48360 ?       Sl   Dec10  10:26 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pid-f
apache   13433  0.2  0.3 450116 28224 ?        S    Dec10   6:04 /usr/sbin/httpd
postgres 13477  0.0  0.0 218348  7356 ?        Ss   Dec10   0:07 postgres: nagiosxi nagiosxi [local] idle          
apache   14003  0.2  0.3 453944 31568 ?        S    Dec10   6:50 /usr/sbin/httpd
postgres 14018  0.0  0.0 217772  6764 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
apache   14683  0.2  0.4 457316 35208 ?        S    Dec10   6:45 /usr/sbin/httpd
postgres 14726  0.0  0.0 218308  7476 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
apache   14841  0.2  0.3 454076 31792 ?        S    Dec10   6:48 /usr/sbin/httpd
postgres 14945  0.0  0.0 218288  7224 ?        Ss   Dec10   0:09 postgres: nagiosxi nagiosxi [local] idle          
nagios   14984  0.0  0.0  21008  6172 ?        Ss   10:43   0:19 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   14986  0.0  0.0  10016   948 ?        S    10:43   0:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   14987  0.0  0.0  10016   952 ?        S    10:43   0:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   14988  0.0  0.0  10016   948 ?        S    10:43   0:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   14989  0.0  0.0  10016   952 ?        S    10:43   0:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   14990  0.0  0.0  10016   952 ?        S    10:43   0:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   14991  0.0  0.0  10016   948 ?        S    10:43   0:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios   14997  0.0  0.0  20336   980 ?        S    10:43   0:01 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   16049  0.0  0.0 301248   832 ?        S    10:46   0:03 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
nagios   18026  0.0  0.0  50296   872 ?        Ss   10:52   0:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios   18055  0.0  0.0  50296  1616 ?        S    10:52   0:02 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios   18056  0.0  0.0  50704  2044 ?        S    10:52   0:14 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
root     27708  0.0  0.0 173976  2532 ?        S    16:24   0:00 CROND
root     27709  0.0  0.0 173976  2532 ?        S    16:24   0:00 CROND
root     27710  0.0  0.0 173976  2532 ?        S    16:24   0:00 CROND
root     27711  0.0  0.0 173976  2532 ?        S    16:24   0:00 CROND
root     27712  0.0  0.0 173976  2532 ?        S    16:24   0:00 CROND
nagios   27714  0.0  0.0 106060  1272 ?        Ss   16:24   0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1
nagios   27715  0.0  0.0 106060  1272 ?        Ss   16:24   0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1
nagios   27716  0.0  0.0 106060  1272 ?        Ss   16:24   0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
nagios   27720  0.0  0.0 106060  1268 ?        Ss   16:24   0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
nagios   27721  0.2  0.2 319512 22520 ?        S    16:24   0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php
nagios   27722  0.0  0.0 106060  1272 ?        Ss   16:24   0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 
nagios   27723  0.3  0.2 319676 23148 ?        S    16:24   0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php
nagios   27725  0.3  0.3 327480 30404 ?        S    16:24   0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php
nagios   27727  0.3  0.2 319624 22724 ?        S    16:24   0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php
nagios   27728  0.2  0.2 319908 22948 ?        S    16:24   0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
postgres 27730  0.1  0.0 217788  6104 ?        Ss   16:24   0:00 postgres: nagiosxi nagiosxi [local] idle          
postgres 27731  0.0  0.0 217728  5760 ?        Ss   16:24   0:00 postgres: nagiosxi nagiosxi [local] idle          
postgres 27732  0.0  0.0 217728  5764 ?        Ss   16:24   0:00 postgres: nagiosxi nagiosxi [local] idle          
postgres 27740  0.0  0.0 217728  5764 ?        Ss   16:24   0:00 postgres: nagiosxi nagiosxi [local] idle          
postgres 27747  0.0  0.0 217748  6312 ?        Ss   16:24   0:00 postgres: nagiosxi nagiosxi [local] idle          
kar54    27996  1.0  0.0 110228  1164 pts/0    R+   16:24   0:00 ps aux
apache   28375  0.1  0.2 446336 24124 ?        S    Dec10   5:42 /usr/sbin/httpd
postgres 28380  0.0  0.0 217728  6568 ?        Ss   Dec10   0:07 postgres: nagiosxi nagiosxi [local] idle 

Re: Nagios XI Memory usage growing

Posted: Fri Dec 12, 2014 4:51 pm
by tgriep
Everything looks normal.

Do you have anymore details you can give us?

Re: Nagios XI Memory usage growing

Posted: Fri Dec 12, 2014 5:09 pm
by krobertson71
Honestly its a pretty standard install. Runs on RHEL 6 x64.. dedicated hardware ESX host with 24 cpus and 128 gigs of ram. The VM in that host is a 4 core 8 gig of ram. The raid this VM runs on does so on a 1.4 TB SSD array.

Not worried about performance, just the ram creep concerned me. What will it be like when we go full on production?

Re: Nagios XI Memory usage growing

Posted: Mon Dec 15, 2014 11:27 am
by abrist
krobertson71 wrote:just the ram creep concerned me.
Could the ram creep also be due to disk buffers? What is the output of:

Code: Select all

free -m

Re: Nagios XI Memory usage growing

Posted: Mon Dec 15, 2014 1:34 pm
by krobertson71
The disks are SSD in a raid. Server has VSPhere and ESXi as the OS so we can spin up servers as needed.

Re: Nagios XI Memory usage growing

Posted: Mon Dec 15, 2014 4:13 pm
by abrist
After disk buffers, your server is only using 775MB of ram.

1. Is this high for your server?
2. Does this value keep climbing?
3. Or is it just disk buffers? (which linux will aggressively allocate if the resources are available)