httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent Blume <laur...@elanor.org>
Subject [users@httpd] Apache 2.2.8 hangs on Solaris 9: Deadlock?
Date Tue, 15 Apr 2008 07:43:36 GMT
Hi all,

Okay, the title isn't very descriptive, but I haven't much to work with :-/

We're having a recurrent problem with Apache 2.2 on two Solaris 9 boxes:
it hangs, and becomes unresponsive. Connecting to the port 80, the
connection is established, but stays stuck, and send no data at all.

I think it started with version 2.2, though it's difficult to say when.

When the problem occurs, a simple restart is enough to get it to work
again (the children are killed, but the parent process is kept alive).

the only messages I find in the log are about «deadlock situations» (see
below), however, they happen quite a long time before the last working
request is logged. In the exemple below, the last log before restart is
at 14/Apr/2008:19:59:50 +0200. Nothing else there.

I only found the following post which might relate to it, except in my
case, Apache is built with the worker MPM, not prefork:

http://www.mail-archive.com/dev@httpd.apache.org/msg39632.html

Any idea?

I'd like to keep the worker MPM if possible, AFAICT, it's more
lightweight and more adequate to our use.

TIA,

Laurent

[Fri Apr 11 18:53:07 2008] [emerg] (45)Deadlock situation
detected/avoided: apr_proc_mutex_lock failed. Attempting to shutdown
process gracefully.
[Fri Apr 11 19:04:58 2008] [emerg] (45)Deadlock situation
detected/avoided: apr_proc_mutex_lock failed. Attempting to shutdown
process gracefully.
[Sat Apr 12 02:36:16 2008] [error] [client 195.189.142.134] File does
not exist: /usr/local/apache-contenus/capri/favicon.ico, referer:
http://my.address/
[Sat Apr 12 10:27:59 2008] [emerg] (45)Deadlock situation
detected/avoided: apr_proc_mutex_lock failed. Attempting to shutdown
process gracefully.
[Mon Apr 14 14:41:46 2008] [emerg] (45)Deadlock situation
detected/avoided: apr_proc_mutex_lock failed. Attempting to shutdown
process gracefully.
[Mon Apr 14 16:16:11 2008] [emerg] (45)Deadlock situation
detected/avoided: apr_proc_mutex_lock failed. Attempting to shutdown
process gracefully.
[Mon Apr 14 18:42:38 2008] [emerg] (45)Deadlock situation
detected/avoided: apr_proc_mutex_lock failed. Attempting to shutdown
process gracefully.
[Mon Apr 14 19:48:16 2008] [emerg] (45)Deadlock situation
detected/avoided: apr_proc_mutex_lock failed. Attempting to shutdown
process gracefully.
[Tue Apr 15 08:44:15 2008] [warn] child process 9042 still did not exit,
sending a SIGTERM
[Tue Apr 15 08:44:15 2008] [warn] child process 7176 still did not exit,
sending a SIGTERM
[Tue Apr 15 08:44:15 2008] [warn] child process 6424 still did not exit,
sending a SIGTERM
[Tue Apr 15 08:44:15 2008] [warn] child process 8910 still did not exit,
sending a SIGTERM
[Tue Apr 15 08:44:17 2008] [warn] child process 7176 still did not exit,
sending a SIGTERM
[Tue Apr 15 08:44:19 2008] [warn] child process 7176 still did not exit,
sending a SIGTERM
[Tue Apr 15 08:44:21 2008] [error] child process 7176 still did not
exit, sending a SIGKILL
[Tue Apr 15 08:44:22 2008] [notice] SIGHUP received.  Attempting to restart
[Tue Apr 15 08:44:24 2008] [notice] Digest: generating secret for digest
authentication ...
[Tue Apr 15 08:44:24 2008] [notice] Digest: done
[Tue Apr 15 08:44:25 2008] [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.3
OpenSSL/0.9.8f DAV/2 PHP/4.4.7 configured -- resuming normal operations


-- 
/ Leader de Projet & Communauté    | I'm working, but not speaking for
\ G11N   http://fr.opensolaris.org | Bull Services http://www.bull.com
/ FOSUG  http://guses.org          |

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message