Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] apache2 just died... why? lists@××××××××.ch