Out of memory - killing nagios

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Tue Jun 24 17:20:55 CEST 2003


Edit nagios.cfg and try tuning max_concurrent_checks.  I've got mine
set to 250, although you might be able to handle quite a bit more.
Perhaps set it to 500 and see if the box chokes and dies.  This will
be a matter of trial and error.

Also, if this is a dedicated function box, you might want to consider
disabling gdmgreeter.

jc


-----Original Message-----
From: Mohamed El Zeiny [mailto:mzieny at cairo.westerngeco.slb.com]
Sent: Tuesday, June 24, 2003 12:38 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Out of memory - killing nagios
Importance: High


Hi All, 
I have running Nagios on a Dell workstation Precision 650, with 2G RAM, 240G HDD, Red Hat Linux 8.0. and swap is 4G
The Nagios hosts=496 host with services=3648 service

I found that when I start the nagios service, after a short time, it has been killed. Then I restarted again, then killed again.
I found the following in (dmesg):
Out of Memory: Killed process 1978 (nagios).
Out of Memory: Killed process 6977 (gdmgreeter).
Out of Memory: Killed process 8111 (gdmgreeter).
Out of Memory: Killed process 9654 (gdmgreeter).
Out of Memory: Killed process 10164 (gdmgreeter).
Out of Memory: Killed process 11922 (gdmgreeter).
Out of Memory: Killed process 11976 (nagios).
Out of Memory: Killed process 12291 (gdmgreeter).
Out of Memory: Killed process 14247 (gdmgreeter).
Out of Memory: Killed process 14247 (gdmgreeter).
Out of Memory: Killed process 15624 (gdmgreeter).
Out of Memory: Killed process 17961 (gdmgreeter).
Out of Memory: Killed process 19086 (gdmgreeter).
Out of Memory: Killed process 19390 (gdmgreeter).


In /var/log/messages, I found:
Jun 24 07:43:27 hostname kernel: Out of Memory: Killed process 1978 (nagios).
Jun 24 07:44:40 hostname kernel: Out of Memory: Killed process 6977 (gdmgreeter).
Jun 24 07:44:46 hostname modprobe: modprobe: Can't locate module char-major-10-134
Jun 24 07:46:57 hostname kernel: Out of Memory: Killed process 8111 (gdmgreeter).
Jun 24 07:47:01 hostname modprobe: modprobe: Can't locate module char-major-10-134
Jun 24 07:48:10 hostname kernel: Out of Memory: Killed process 9654 (gdmgreeter).
Jun 24 07:48:19 hostname modprobe: modprobe: Can't locate module char-major-10-134
Jun 24 07:49:44 hostname kernel: Out of Memory: Killed process 10164 (gdmgreeter).
Jun 24 07:49:47 hostname modprobe: modprobe: Can't locate module char-major-10-134
Jun 24 07:51:01 hostname kernel: Out of Memory: Killed process 11922 (gdmgreeter).
Jun 24 07:51:08 hostname kernel: Out of Memory: Killed process 11976 (nagios).
Jun 24 07:51:15 hostname modprobe: modprobe: Can't locate module char-major-10-134
Jun 24 07:53:02 hostname kernel: Out of Memory: Killed process 12291 (gdmgreeter).
Jun 24 07:53:08 hostname modprobe: modprobe: Can't locate module char-major-10-134
Jun 24 07:55:07 hostname kernel: Out of Memory: Killed process 14247 (gdmgreeter).
Jun 24 07:55:11 hostname kernel: Out of Memory: Killed process 14247 (gdmgreeter).
Jun 24 07:55:24 hostname modprobe: modprobe: Can't locate module char-major-10-134
Jun 24 07:57:57 hostname kernel: Out of Memory: Killed process 15624 (gdmgreeter).
Jun 24 07:58:09 hostname modprobe: modprobe: Can't locate module char-major-10-134
Jun 24 07:59:52 hostname kernel: Out of Memory: Killed process 17961 (gdmgreeter).
Jun 24 08:00:05 hostname modprobe: modprobe: Can't locate module char-major-10-134
Jun 24 08:01:07 hostname kernel: Out of Memory: Killed process 19086 (gdmgreeter).
Jun 24 08:01:14 hostname modprobe: modprobe: Can't locate module char-major-10-134
Jun 24 08:03:29 hostname kernel: Out of Memory: Killed process 19390 (gdmgreeter).


When I reboot the machine it works fine till I try to restart the nagios service in order to apply some changes. the problem starts again.
Any clue..??

Regards,

Mohamed El-Zeiny
DP Project Leader - System Administrator 
WesternGeco - DP Cairo Center
Schlumberger
( 202 417 9731  Ê 202 417 9741
È 2 0101 612 650        Ext.   226
oe MZieny at cairo.westerngeco.slb.com
=======================================


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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