Gentoo Archives: gentoo-user

From: lists@××××××××.ch
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] apache2 just died... why?
Date: Wed, 16 Feb 2011 09:05:40
Message-Id: 824e2f1e2bf4c1454af1fb1335543e9a@spacerat.ch
In Reply to: [gentoo-user] apache2 just died... why? by Jarry
1 On Tue, 15 Feb 2011 16:47:12 +0100, Jarry wrote:
2 > Hi,
3 >
4 > Today I found my web-server does not respond to http-requests.
5 > All other services kept running, only apache (2.2.16) just died.
6 > For the first time, in nearly year...
7 >
8 > In /var/log/apache2/error_log I have found these messages:
9 >
10 > ----------------------------------------------
11 > *** about 1 hour since the last normal message, then suddenly ***
12 >
13 > [Tue Feb 15 10:54:59 2011] [alert] (11)Resource temporarily
14 > unavailable: setuid: unable to change to uid: 81
15 > *** 6 times the same message ***
16 >
17 > [Tue Feb 15 10:54:59 2011] [alert] Child 1903 returned a Fatal
18 > error... Apache is exiting!
19 >
20 > [Tue Feb 15 10:54:59 2011] [emerg] (43)Identifier removed: couldn't
21 > grab the accept mutex
22 > *** 20 times the same message ***
23 >
24 > [Tue Feb 15 10:54:59 2011] [emerg] (22)Invalid argument: couldn't
25 > grab the accept mutex
26 > [Tue Feb 15 10:54:59 2011] [emerg] (43)Identifier removed: couldn't
27 > grab the accept mutex
28 > [Tue Feb 15 10:54:59 2011] [emerg] (43)Identifier removed: couldn't
29 > grab the accept mutex
30 > [Tue Feb 15 10:54:59 2011] [emerg] (22)Invalid argument: couldn't
31 > release the accept mutex
32 >
33 > [Tue Feb 15 10:55:13 2011] [emerg] (22)Invalid argument: couldn't
34 > grab the accept mutex
35 > *** about 50 times the same message ***
36 > ----------------------------------------------
37 >
38 > The last message from /var/log/apache2/access_log is:
39 >
40 > 72.14.202.80 - - [15/Feb/2011:10:54:58 +0000] "GET
41 > /sites/all/themes/Chockolade6b/images/Header.jpg HTTP/1.1" 200 64267
42 > 74.125.152.84 - - [15/Feb/2011:10:54:59 +0000] "GET
43 > /sites/all/themes/Chockolade6b/images/Header.jpg HTTP/1.1" 200 64267
44 >
45 > Apart from that, nothing. No other traces. Content of my website
46 > is there, nothing has been changed (as far as I can say). I simply
47 > restarted apache, and it is running again (but how long before it
48 > crashes again?)...
49 >
50 > Obviously, I'd like to know what happened exactly, and how I could
51 > prevent it happen again in the future. Any help would be greatly
52 > appreciated...
53 >
54 > Jarry
55 >
56 > (amd64, CFLAGS="-march=athlon64 -O2 -pipe", everything stable)
57
58 see http://www.issociate.de/board/post/51105/Apache_mutex_error??.html
59
60 it may contain some hints regarding this problem.
61
62 HTH