You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Igor Chudov <ic...@gmail.com> on 2009/09/25 19:59:14 UTC
Really old bugs (semaphore leak) still in Apache???
[note that this is possibly not am od_perl bug]
After a little over a month of using apache, and restarting it many times, I
started getting errors such as this one:
No space left on device: Couldn't create accept lock
The issue is nothing like what the error message suggests: it is not a space
on device issue, the issue is that apache leaks semaphores upon restarts and
runs out of available semaphores.
This is on Ubuntu Hardy
I had the same issue on my old Fedora box, so I quickly adapted an old shell
function to delete all semaphores owned by www-data.
But my question is, Come On! Shouldn't this bug be fixed by now?
As of now, I added semaphore cleaning to my custom "restart apache" script.
This script already addresses a very obnoxious issue that
"/etc/init.d/apache2 stop" does not always stop apache2. My script does
/etc/init.d/apache2 stop, waits 2 seconds and murders every remaining
instance of apache2. Now it also cleans semaphores.
But I got to wonder if this bug is ever going to be fixed?
i
Fwd: Vacation reply
Posted by Fred Moyer <fr...@redhotpenguin.com>.
Does anyone have the kharma to unsubscribe this guy? Anyone posting
to the list gets one of this I think:
---------- Forwarded message ----------
From: <gr...@hotmail.com>
Date: Fri, Sep 25, 2009 at 11:14 AM
Subject: Vacation reply
To: fred@redhotpenguin.com
Do not send me an email to this address granitegadde@hotmail.com. This
is an automated reply. I do not use this email
address any more regularly.
Srinivas Gadde.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: Really old bugs (semaphore leak) still in Apache???
Posted by Fred Moyer <fr...@redhotpenguin.com>.
On Fri, Sep 25, 2009 at 10:59 AM, Igor Chudov <ic...@gmail.com> wrote:
> [note that this is possibly not am od_perl bug]
>
> After a little over a month of using apache, and restarting it many times, I
> started getting errors such as this one:
Is this an apache bug, or a mod_perl bug? If it is an apache bug,
have you tried the httpd list?
>
> No space left on device: Couldn't create accept lock
>
> The issue is nothing like what the error message suggests: it is not a space
> on device issue, the issue is that apache leaks semaphores upon restarts and
> runs out of available semaphores.
>
> This is on Ubuntu Hardy
>
> I had the same issue on my old Fedora box, so I quickly adapted an old shell
> function to delete all semaphores owned by www-data.
>
> But my question is, Come On! Shouldn't this bug be fixed by now?
>
> As of now, I added semaphore cleaning to my custom "restart apache" script.
> This script already addresses a very obnoxious issue that
> "/etc/init.d/apache2 stop" does not always stop apache2. My script does
> /etc/init.d/apache2 stop, waits 2 seconds and murders every remaining
> instance of apache2. Now it also cleans semaphores.
>
> But I got to wonder if this bug is ever going to be fixed?
>
> i
>