Debian Bug report logs - #660224
munin-fastcgi-graph hangs, server replies with Error 500

version graph

Package: munin; Maintainer for munin is Munin Debian Maintainers <packaging@munin-monitoring.org>; Source for munin is src:munin (PTS, buildd, popcon).

Reported by: "Estelmann, Christian" <c.estelmann@gmx.net>

Date: Fri, 17 Feb 2012 14:36:02 UTC

Severity: important

Tags: upstream

Found in version munin/1.4.5-3

Fixed in versions munin/2.0.0-1, munin/1.999.4603-1, 1.999.4603-1

Done: Stig Sandbeck Mathisen <ssm@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Munin Debian Maintainers <packaging@munin-monitoring.org>:
Bug#660224; Package munin. (Fri, 17 Feb 2012 14:36:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Estelmann, Christian" <c.estelmann@gmx.net>:
New Bug report received and forwarded. Copy sent to Munin Debian Maintainers <packaging@munin-monitoring.org>. (Fri, 17 Feb 2012 14:36:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Estelmann, Christian" <c.estelmann@gmx.net>
To: submit@bugs.debian.org
Subject: munin-fastcgi-graph hangs, server replies with Error 500
Date: Fri, 17 Feb 2012 15:33:52 +0100
Package: munin
Version: 1.4.5-3

Hi,

I've configured Munin to use CGI graphing. On one machine it is running, on another not. Both have the same packages installed and the same configs.

I am not good in Perl programming, but what i have found out is, that when /usr/lib/cgi-bin/munin-fastcgi-graph is executed, it hangs on semop($semid,$opstring); in sem_get(). The variables $semid and $opstring are set.

A snip of /var/log/apache2/error.log
[Fri Feb 17 14:53:10 2012] [warn] FastCGI: (dynamic) server "/usr/lib/cgi-bin/munin-fastcgi-graph" (uid 0, gid 0) started (pid 7524)
[Fri Feb 17 14:53:10 2012] [warn] FastCGI: server "/usr/lib/cgi-bin/munin-fastcgi-graph" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Fri Feb 17 14:53:14 2012] [warn] FastCGI: (dynamic) server "/usr/lib/cgi-bin/munin-fastcgi-graph" (uid 0, gid 0) started (pid 7574)
[Fri Feb 17 14:53:14 2012] [warn] FastCGI: server "/usr/lib/cgi-bin/munin-fastcgi-graph" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[...]
[Fri Feb 17 14:53:35 2012] [warn] FastCGI: (dynamic) server "/usr/lib/cgi-bin/munin-fastcgi-graph" (uid 0, gid 0) started (pid 7726)
[Fri Feb 17 14:53:35 2012] [warn] FastCGI: server "/usr/lib/cgi-bin/munin-fastcgi-graph" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Fri Feb 17 14:53:38 2012] [warn] FastCGI: scheduled the start of the last (dynamic) server "/usr/lib/cgi-bin/munin-fastcgi-graph" process: reached dynamicMaxClassProcs (10)
[Fri Feb 17 14:53:38 2012] [warn] FastCGI: (dynamic) server "/usr/lib/cgi-bin/munin-fastcgi-graph" (uid 0, gid 0) started (pid 7740)
[Fri Feb 17 14:53:38 2012] [warn] FastCGI: server "/usr/lib/cgi-bin/munin-fastcgi-graph" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Fri Feb 17 14:53:41 2012] [warn] FastCGI: server "/usr/lib/cgi-bin/munin-fastcgi-graph" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Fri Feb 17 14:53:44 2012] [error] [client V.W.X.Y] FastCGI: comm with (dynamic) server "/usr/lib/cgi-bin/munin-fastcgi-graph" aborted: (first read) idle timeout (30 sec)
[Fri Feb 17 14:53:44 2012] [warn] FastCGI: server "/usr/lib/cgi-bin/munin-fastcgi-graph" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Fri Feb 17 14:53:44 2012] [error] [client V.W.X.Y] FastCGI: incomplete headers (0 bytes) received from server "/usr/lib/cgi-bin/munin-fastcgi-graph"

In /var/log/munin/munin-cgi-graph.log and /var/log/munin/munin-graph.log is nothing logged.

If you need further informations just ask. :)

Thanks.

Christian




Information forwarded to debian-bugs-dist@lists.debian.org, Munin Debian Maintainers <packaging@munin-monitoring.org>:
Bug#660224; Package munin. (Fri, 17 Feb 2012 17:15:13 GMT) (full text, mbox, link).


Acknowledgement sent to Holger Levsen <holger@layer-acht.org>:
Extra info received and forwarded to list. Copy sent to Munin Debian Maintainers <packaging@munin-monitoring.org>. (Fri, 17 Feb 2012 17:15:14 GMT) (full text, mbox, link).


Message #10 received at 660224@bugs.debian.org (full text, mbox, reply):

From: Holger Levsen <holger@layer-acht.org>
To: "Estelmann, Christian" <c.estelmann@gmx.net>, 660224@bugs.debian.org
Subject: Re: [Packaging] Bug#660224: munin-fastcgi-graph hangs, server replies with Error 500
Date: Fri, 17 Feb 2012 17:41:28 +0100
Hi Christian,

thanks for your bug report!

On Freitag, 17. Februar 2012, Estelmann, Christian wrote:
> I've configured Munin to use CGI graphing. On one machine it is running, on
> another not. Both have the same packages installed and the same configs.

Can you please try to reproduce this bug with munin2.0~beta7 from 
experimental? The packages install fine on squeeze.


cheers,
	Holger




Information forwarded to debian-bugs-dist@lists.debian.org, Munin Debian Maintainers <packaging@munin-monitoring.org>:
Bug#660224; Package munin. (Mon, 20 Feb 2012 15:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Estelmann, Christian" <c.estelmann@gmx.net>:
Extra info received and forwarded to list. Copy sent to Munin Debian Maintainers <packaging@munin-monitoring.org>. (Mon, 20 Feb 2012 15:09:05 GMT) (full text, mbox, link).


Message #15 received at 660224@bugs.debian.org (full text, mbox, reply):

From: "Estelmann, Christian" <c.estelmann@gmx.net>
To: 660224@bugs.debian.org
Subject: Re: [Packaging] Bug#660224: munin-fastcgi-graph hangs, server replies with Error 500
Date: Mon, 20 Feb 2012 16:06:51 +0100
Hi,

First another little bug (I think it is not worthwhile to open another bugreport):
I added experimental to sources.list. While upgrading munin the symlink /etc/apache2/conf.d/munin which pointed to /etc/munin/apache.conf was removed.

Back to topic:
With munin 1.999.4603-1 / 2.0beta7 the graphs are drawn - and yes, it's working very very fast. But I wanted to get the package of debian stable to work :)

Greetings,

Christian




Information forwarded to debian-bugs-dist@lists.debian.org, Munin Debian Maintainers <packaging@munin-monitoring.org>:
Bug#660224; Package munin. (Tue, 21 Feb 2012 13:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Estelmann, Christian" <c.estelmann@gmx.net>:
Extra info received and forwarded to list. Copy sent to Munin Debian Maintainers <packaging@munin-monitoring.org>. (Tue, 21 Feb 2012 13:27:05 GMT) (full text, mbox, link).


Message #20 received at 660224@bugs.debian.org (full text, mbox, reply):

From: "Estelmann, Christian" <c.estelmann@gmx.net>
To: 660224@bugs.debian.org
Subject: Re: [Packaging] Bug#660224: munin-fastcgi-graph hangs, server replies with Error 500
Date: Tue, 21 Feb 2012 14:23:35 +0100
Hi,

I downgraded to 1.4.5-3 again and switched from fastcgi to cgi. It is working and the the graphs are generated fast enough (quad core CPU with HT, 8 cgi processes). But that was only another workaround.

Greetings,

Christian




Information forwarded to debian-bugs-dist@lists.debian.org, Munin Debian Maintainers <packaging@munin-monitoring.org>:
Bug#660224; Package munin. (Tue, 21 Feb 2012 20:03:08 GMT) (full text, mbox, link).


Acknowledgement sent to Holger Levsen <holger@layer-acht.org>:
Extra info received and forwarded to list. Copy sent to Munin Debian Maintainers <packaging@munin-monitoring.org>. (Tue, 21 Feb 2012 20:03:08 GMT) (full text, mbox, link).


Message #25 received at 660224@bugs.debian.org (full text, mbox, reply):

From: Holger Levsen <holger@layer-acht.org>
To: "Estelmann, Christian" <c.estelmann@gmx.net>, 660224@bugs.debian.org, control@bugs.debian.org
Subject: Re: [Packaging] Bug#660224: Bug#660224: munin-fastcgi-graph hangs, server replies with Error 500
Date: Tue, 21 Feb 2012 21:00:03 +0100
notfound 660224 1.999.4603-1
tags 660224 + upstream
thanks

Hi Christian,

On Dienstag, 21. Februar 2012, Estelmann, Christian wrote:
> I downgraded to 1.4.5-3 again and switched from fastcgi to cgi. It is
> working and the the graphs are generated fast enough (quad core CPU with
> HT, 8 cgi processes). But that was only another workaround.

Thanks for your bugreport and for keeping updated with your findings, much 
appreciated. Did you see #609900? 


cheers,
	Holger




Added tag(s) upstream. Request was from Holger Levsen <holger@layer-acht.org> to control@bugs.debian.org. (Tue, 21 Feb 2012 20:03:09 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Munin Debian Maintainers <packaging@munin-monitoring.org>:
Bug#660224; Package munin. (Tue, 21 Feb 2012 22:27:12 GMT) (full text, mbox, link).


Acknowledgement sent to Holger Levsen <holger@layer-acht.org>:
Extra info received and forwarded to list. Copy sent to Munin Debian Maintainers <packaging@munin-monitoring.org>. (Tue, 21 Feb 2012 22:27:12 GMT) (full text, mbox, link).


Message #32 received at 660224@bugs.debian.org (full text, mbox, reply):

From: Holger Levsen <holger@layer-acht.org>
To: control@bugs.debian.org, 660224@bugs.debian.org
Subject: Re: [Packaging] Bug#660224: Bug#660224: munin-fastcgi-graph hangs, server replies with Error 500
Date: Tue, 21 Feb 2012 23:25:42 +0100
severity 660224 important
thanks

On Montag, 20. Februar 2012, Estelmann, Christian wrote:
> First another little bug (I think it is not worthwhile to open another
> bugreport): I added experimental to sources.list. While upgrading munin
> the symlink /etc/apache2/conf.d/munin which pointed to
> /etc/munin/apache.conf was removed.

I don't have time now, but that needs to be investigated.

(Any takers?)




Severity set to 'important' from 'normal' Request was from Holger Levsen <holger@layer-acht.org> to control@bugs.debian.org. (Tue, 21 Feb 2012 22:27:25 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Munin Debian Maintainers <packaging@munin-monitoring.org>:
Bug#660224; Package munin. (Wed, 22 Feb 2012 09:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Estelmann, Christian" <c.estelmann@gmx.net>:
Extra info received and forwarded to list. Copy sent to Munin Debian Maintainers <packaging@munin-monitoring.org>. (Wed, 22 Feb 2012 09:48:06 GMT) (full text, mbox, link).


Message #39 received at 660224@bugs.debian.org (full text, mbox, reply):

From: "Estelmann, Christian" <c.estelmann@gmx.net>
To: 660224@bugs.debian.org
Subject: Re: [Packaging] Bug#660224: Bug#660224: munin-fastcgi-graph hangs, server replies with Error 500
Date: Wed, 22 Feb 2012 10:45:33 +0100
Hi,

>
> Did you see #609900?
>
Yes, I have seen this documentation.

From one day to another it was no longer working. On another machine it 
works well till today. Ther were no differences between the configs (now 
there are, cause of switching from FastCGI to CGI). The machines have 
installed the same packages as well, all from squeeze and squeeze-updates.

When running the fastcgi-script in a terminal on the machine where it is 
working in combination with the webserver it is working in the terminal, 
too. But on the other machine it hangs at that semop()-operation.

Greetings,
Christian




Bug Marked as fixed in versions munin/1.999.4603-1. Request was from Steve Schnepp <steve.schnepp@gmail.com> to control@bugs.debian.org. (Thu, 08 Mar 2012 11:57:42 GMT) (full text, mbox, link).


Reply sent to Stig Sandbeck Mathisen <ssm@debian.org>:
You have taken responsibility. (Sat, 14 Apr 2012 17:33:12 GMT) (full text, mbox, link).


Notification sent to "Estelmann, Christian" <c.estelmann@gmx.net>:
Bug acknowledged by developer. (Sat, 14 Apr 2012 17:33:12 GMT) (full text, mbox, link).


Message #46 received at 660224-done@bugs.debian.org (full text, mbox, reply):

From: Stig Sandbeck Mathisen <ssm@debian.org>
To: 660224-done@bugs.debian.org
Subject: Closing fixed bug
Date: Sat, 14 Apr 2012 19:30:10 +0200
[Message part 1 (text/plain, inline)]
Version: 1.999.4603-1

This is marked as fixed, closing bug.

-- 
Stig Sandbeck Mathisen
[Message part 2 (application/pgp-signature, inline)]

Marked as fixed in versions munin/2.0.0-1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 02 Nov 2013 15:58:44 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 01 Dec 2013 07:30:54 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 23:38:25 2017; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.