[Pkg-nagios-devel] Bug#283947: marked as done (nagios-text: forks too many processes when the machine is loaded)

Debian Bug Tracking System owner@bugs.debian.org
Wed, 06 Apr 2005 07:03:29 -0700

Your message dated Wed, 06 Apr 2005 09:32:23 -0400
with message-id <E1DJAdr-0007bd-00@newraff.debian.org>
and subject line Bug#283947: fixed in nagios 2:1.3-cvs.20050402-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 2 Dec 2004 14:12:39 +0000
>From cyb@jexiste.org Thu Dec 02 06:12:39 2004
Return-path: <cyb@jexiste.org>
Received: from lb1.jexiste.org (ns2) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CZrhH-0000R2-00; Thu, 02 Dec 2004 06:12:39 -0800
Received: from cyb by ns2 with local (Exim 4.34)
	id 1CZrgl-0001uX-Bl; Thu, 02 Dec 2004 15:12:07 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Cyril Bouthors <cyb@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: nagios-text: forks too many processes when the machine is loaded
X-Mailer: reportbug 3.2
Date: Thu, 02 Dec 2004 15:12:07 +0100
Message-Id: <E1CZrgl-0001uX-Bl@ns2>
Sender: Cyril Bouthors <cyb@jexiste.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25

Package: nagios-text
Version: 2:1.2-3.6
Severity: normal

Nagios has a very bad reaction when the machine is loaded, it spaws too
many processes and kill the machine even harder:

root@ns2:/root/scripts# ps -C nagios h
  843 ?        SNs    0:31 /usr/sbin/nagios /etc/nagios/nagios.cfg
  18506 ?        SN     0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg
  18509 ?        SN     0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg
  18511 ?        SN     0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg
  18515 ?        SN     0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg
  18518 ?        SN     0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg
  18521 ?        SN     0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg
  18524 ?        SN     0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg
  (... 146 processes skipped ...)

I think a trigger should take care of this and prevent such behaviours.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios-text depends on:
ii  adduser          3.59                    Add and remove users and groups
ii  apache [httpd]   1.3.31-6                Versatile, high-performance HTTP s
ii  coreutils [fileu 5.2.1-2                 The GNU core utilities
ii  debconf          1.4.39                  Debian configuration management sy
ii  libc6            2.3.2.ds1-18            GNU C Library: Shared libraries an
ii  libgd2-xpm       2.0.28-3                GD Graphics Library version 2
ii  libjpeg62        6b-9                    The Independent JPEG Group's JPEG 
ii  libpng12-0               PNG library - runtime
ii  mailx            1:8.1.2-0.20040524cvs-1 A simple mail user agent
ii  nagios-plugins              Plugins for the nagios network mon
ii  ucf              1.09                    Update Configuration File: preserv
ii  zlib1g           1:1.2.2-1               compression library - runtime

-- debconf information:
* nagios/wwwsuid: true
* nagios/configapache: Apache

Received: (at 283947-close) by bugs.debian.org; 6 Apr 2005 13:46:42 +0000
>From katie@ftp-master.debian.org Wed Apr 06 06:46:42 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DJAri-0001wd-00; Wed, 06 Apr 2005 06:46:42 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DJAdr-0007bd-00; Wed, 06 Apr 2005 09:32:23 -0400
From: sean finney <seanius@debian.org>
To: 283947-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#283947: fixed in nagios 2:1.3-cvs.20050402-1
Message-Id: <E1DJAdr-0007bd-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 06 Apr 2005 09:32:23 -0400
Delivered-To: 283947-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: nagios
Source-Version: 2:1.3-cvs.20050402-1

We believe that the bug you reported is fixed in the latest version of
nagios, which is due to be installed in the Debian FTP archive:

  to pool/main/n/nagios/nagios-common_1.3-cvs.20050402-1_all.deb
  to pool/main/n/nagios/nagios-mysql_1.3-cvs.20050402-1_i386.deb
  to pool/main/n/nagios/nagios-pgsql_1.3-cvs.20050402-1_i386.deb
  to pool/main/n/nagios/nagios-text_1.3-cvs.20050402-1_i386.deb
  to pool/main/n/nagios/nagios_1.3-cvs.20050402-1.diff.gz
  to pool/main/n/nagios/nagios_1.3-cvs.20050402-1.dsc
  to pool/main/n/nagios/nagios_1.3-cvs.20050402.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 283947@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
sean finney <seanius@debian.org> (supplier of updated nagios package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Tue, 05 Apr 2005 00:47:23 -0400
Source: nagios
Binary: nagios-pgsql nagios-text nagios-mysql nagios-common
Architecture: source i386 all
Version: 2:1.3-cvs.20050402-1
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
Changed-By: sean finney <seanius@debian.org>
 nagios-common - A host/service/network monitoring and management system
 nagios-mysql - A host/service/network monitoring and management system
 nagios-pgsql - A host/service/network monitoring and management system
 nagios-text - A host/service/network monitoring and management system
Closes: 283947 292473 299467 299470 299613 301099 301105 302245 302994
 nagios (2:1.3-cvs.20050402-1) unstable; urgency=low
     - new upstream cvs snapshot (bugfixes and doc updates only).
     - somehow nagios got packaged as a debian-native package.  oops.
       thanks to Stephen Gran <sgran@debian.org> for pointing out
       the mistake (closes: #302245).
     - remove duplicate call do db_purge in maintainer scripts
     - remove duplicate call to invoke-rc.d in maintainer scripts, thanks
       to alban browaeys <browaeys.alban@wanadoo.fr> (closes: #301099).
     - don't jump the gun and use htpasswd-caudium just because it exists.
       instead, make sure that the admin has also not selected to configure
       nagios for apache variants (in which case htpasswd should stay as
       the nagios htpasswd).  thanks again to alban (closes: #301105).
     - check_started was broken for reloading nagios-pgsql and nagios-mysql.
       thanks to Olleg Samoylov <olleg@mipt.ru> (closes: #299470).
     - plugins would break in environments that use commas in their floating
       points.  as a workaround, set LC_NUMERIC=POSIX in the init script.
       thanks again to Olleg Samoylov <olleg@mipt.ru> (closes: #299467).
     - documentation changes suggested by David Greaves <david@dgreaves.com>
       (closes: #299613).
     - added a note about heavily loaded servers in README.Debian
       (closes: #283947, #292473).  thanks to Cyril Bouthors <cyb@debian.org>.
     - updated README.Debian, removing various out-of-date info, and putting
       in a little more about virtual hosts with apache.
     - also updated NEWS, as it looks like the recent side.html change broke
       the configs of some people who were using nagios in a virtualhost.  note
       that a simple fix exists, see README.Debian :)
     - change and clarification in the default contacts.  thanks to
       alban (closes: #302994).
 7b4caa20e606dd4f9d53f50b20b6f9f1 1021 net optional nagios_1.3-cvs.20050402-1.dsc
 0f92b7b8e705411b7881d3650cbb5d56 1621251 net optional nagios_1.3-cvs.20050402.orig.tar.gz
 3d297ce0143142929442a2022e390440 64408 net optional nagios_1.3-cvs.20050402-1.diff.gz
 773a70d04bc47910a6c433d2293a4e1a 901316 net optional nagios-text_1.3-cvs.20050402-1_i386.deb
 68e37489ad6e230ddd5a6f43b5fb64a6 906498 net optional nagios-mysql_1.3-cvs.20050402-1_i386.deb
 9ee311660bdf2e80c162f18b7d8c43e7 916970 net optional nagios-pgsql_1.3-cvs.20050402-1_i386.deb
 ac7b4c4c6b90e48e50fc070f3e4f9349 1217990 net optional nagios-common_1.3-cvs.20050402-1_all.deb

Version: GnuPG v1.4.0 (GNU/Linux)