From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PpdKO-000605-HF for garchives@archives.gentoo.org; Wed, 16 Feb 2011 09:05:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7AF85E0863 for ; Wed, 16 Feb 2011 09:05:39 +0000 (UTC) Received: from mail.mailer-daemon.ch (luc80-74-131-239.ch-meta.net [80.74.131.239]) by pigeon.gentoo.org (Postfix) with ESMTP id DCA47E0686 for ; Wed, 16 Feb 2011 08:48:51 +0000 (UTC) Received: from mail.mailer-daemon.ch (mail.mailer-daemon.ch [80.74.131.239]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.mailer-daemon.ch (Postfix) with ESMTP id 935799D88107 for ; Wed, 16 Feb 2011 09:48:53 +0100 (CET) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 16 Feb 2011 09:48:53 +0100 From: lists@spacerat.ch To: Subject: Re: [gentoo-user] apache2 just died... =?UTF-8?Q?why=3F?= In-Reply-To: <4D5AA000.6020106@gmail.com> References: <4D5AA000.6020106@gmail.com> Message-ID: <824e2f1e2bf4c1454af1fb1335543e9a@spacerat.ch> X-Sender: lists@spacerat.ch User-Agent: Roundcube Webmail/0.5.1 X-Archives-Salt: X-Archives-Hash: 5d1d6cd8d49b70caed547129b5137785 On Tue, 15 Feb 2011 16:47:12 +0100, Jarry wrote: > Hi, > > Today I found my web-server does not respond to http-requests. > All other services kept running, only apache (2.2.16) just died. > For the first time, in nearly year... > > In /var/log/apache2/error_log I have found these messages: > > ---------------------------------------------- > *** about 1 hour since the last normal message, then suddenly *** > > [Tue Feb 15 10:54:59 2011] [alert] (11)Resource temporarily > unavailable: setuid: unable to change to uid: 81 > *** 6 times the same message *** > > [Tue Feb 15 10:54:59 2011] [alert] Child 1903 returned a Fatal > error... Apache is exiting! > > [Tue Feb 15 10:54:59 2011] [emerg] (43)Identifier removed: couldn't > grab the accept mutex > *** 20 times the same message *** > > [Tue Feb 15 10:54:59 2011] [emerg] (22)Invalid argument: couldn't > grab the accept mutex > [Tue Feb 15 10:54:59 2011] [emerg] (43)Identifier removed: couldn't > grab the accept mutex > [Tue Feb 15 10:54:59 2011] [emerg] (43)Identifier removed: couldn't > grab the accept mutex > [Tue Feb 15 10:54:59 2011] [emerg] (22)Invalid argument: couldn't > release the accept mutex > > [Tue Feb 15 10:55:13 2011] [emerg] (22)Invalid argument: couldn't > grab the accept mutex > *** about 50 times the same message *** > ---------------------------------------------- > > The last message from /var/log/apache2/access_log is: > > 72.14.202.80 - - [15/Feb/2011:10:54:58 +0000] "GET > /sites/all/themes/Chockolade6b/images/Header.jpg HTTP/1.1" 200 64267 > 74.125.152.84 - - [15/Feb/2011:10:54:59 +0000] "GET > /sites/all/themes/Chockolade6b/images/Header.jpg HTTP/1.1" 200 64267 > > Apart from that, nothing. No other traces. Content of my website > is there, nothing has been changed (as far as I can say). I simply > restarted apache, and it is running again (but how long before it > crashes again?)... > > Obviously, I'd like to know what happened exactly, and how I could > prevent it happen again in the future. Any help would be greatly > appreciated... > > Jarry > > (amd64, CFLAGS="-march=athlon64 -O2 -pipe", everything stable) see http://www.issociate.de/board/post/51105/Apache_mutex_error??.html it may contain some hints regarding this problem. HTH