Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Apache crashed, what could be the reason?
Date: Thu, 26 Aug 2010 17:45:25
Message-Id: 4C76A7C0.3030903@gmail.com
1 Hi,
2
3 I could not connect to my web-page so I logged in to the server
4 just to find appache was simply not running. I started checking
5 logs and the only thing which I find suspicious are these messages
6 in /var/log/apache2/error_log :
7
8 -----------------
9 6 times:
10 [Thu Aug 26 13:59:16 2010] [alert] (11)Resource temporarily unavailable:
11 setuid: unable to change to uid: 81
12
13 [Thu Aug 26 13:59:16 2010] [alert] Child 20303 returned a Fatal error...
14 Apache is exiting!
15
16 ~30 times:
17 [Thu Aug 26 13:59:16 2010] [emerg] (43)Identifier removed: couldn't grab
18 the accept mutex
19
20 ~50 times:
21 [Thu Aug 26 13:59:16 2010] [emerg] (22)Invalid argument: couldn't grab
22 the accept mutex
23
24 [Thu Aug 26 13:59:42 2010] [emerg] (22)Invalid argument: couldn't
25 release the accept mutex
26 -----------------
27
28 Except for that, only common scannings for phpMyAdmin, myadmin, pma,
29 mysql, scripts, etc. Nothing more. Any ideas why apache died?
30
31 Apart from that, nothing seems to be damaged. I started apache
32 as usuall, database is consistent, web-site is up & running.
33 But naturally, I do not want to see this happen again...
34
35 BTW, the system is stable amd64, with apache 2.2.15:
36 USE="ssl -debug -doc -ldap (-selinux) -static -suexec -threads"
37 APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon
38 authn_dbm authn_default authn_file authz_dbm authz_default
39 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
40 cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
41 file_cache filter headers include info log_config logio mem_cache mime
42 mime_magic negotiation rewrite setenvif speling status unique_id userdir
43 usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta
44 -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy
45 -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http
46 -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker"
47
48 Jarry
49
50
51 --
52 _______________________________________________________________
53 This mailbox accepts e-mails only from selected mailing-lists!
54 Everything else is considered to be spam and therefore deleted.

Replies

Subject Author
Re: [gentoo-user] Apache crashed, what could be the reason? Kyle Bader <kyle.bader@×××××.com>