Forum Moderators: phranque

Message Too Old, No Replies

server crash - apr proc mutex lock failed.

server crash - apr_proc_mutex_lock failed. Thread bomb.

         

johnh

8:51 pm on Jul 7, 2011 (gmt 0)

10+ Year Member



Any ideas? My apache server is crashing every so often, a restart of apache fixes the problem but I can't quite figure out how to keep it from happening. I am getting an error log full of the following error when it crashes:


[Thu Jul 07 10:12:41 2011] [emerg] (22)Invalid argument: apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Thu Jul 07 10:12:43 2011] [emerg] (22)Invalid argument: apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Thu Jul 07 10:12:44 2011] [emerg] (22)Invalid argument: apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Thu Jul 07 10:12:44 2011] [emerg] (22)Invalid argument: apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Thu Jul 07 10:12:46 2011] [emerg] (22)Invalid argument: apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Thu Jul 07 10:12:47 2011] [emerg] (22)Invalid argument: apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Thu Jul 07 10:12:47 2011] [emerg] (22)Invalid argument: apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Thu Jul 07 10:12:49 2011] [emerg] (22)Invalid argument: apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Thu Jul 07 10:12:50 2011] [emerg] (22)Invalid argument: apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Thu Jul 07 10:12:50 2011] [emerg] (22)Invalid argument: apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.

--------------------------------------------------------------------


Server details:
Server version: Apache/2.2.16 (Debian)
Server built: Jul 24 2010 20:24:16
Server's Module Magic Number: 20051115:24
Server loaded: APR 1.4.2, APR-Util 1.3.9
Compiled using: APR 1.4.2, APR-Util 1.3.9
Architecture: 32-bit
Server MPM: Worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"