You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Axel-Stéphane SMORGRAV <Ax...@europe.adp.com> on 2004/11/18 17:59:12 UTC

[users@httpd] RE : [users@httpd] RE : Apache 2.0.51 - Mutex Lock Problem

Below is my original mail about the problem, including the details of the Apache build and modules included.

I do use SSL and have tried both 
SSLSessionCache         dbm:%%SERVER_ROOT%%/logs/ssl_scache
and
SSLSessionCache         shm:%%SERVER_ROOT%%/logs/ssl_scache

I do not use mod_security, but I do use Netegrity's libmod_sm20.so. Since you have the same problem w/o the Netegrity modules, I think we can rule it out. Other than that I have absolutely no idea about what causes this error...

-ascs


--------------
Is the following error familiar to anyone?
[warn] (45)Deadlock situation detected/avoided: Failed to acquire global mutex lock

I have this problem with Apache 2.0.52 on Sun Solaris 8, but I am unable to reproduce it using Apache 2.0.49 with the same configuration.

During compilation of both server versions I use the following configuration flags (in addition to enabling modules): --enable-rule=SHARED_CORE --enable-rule=SSL_EXPERIMENTAL --with-mpm=worker --enable-nonportable-atomics --with-ssl=/u01/opt --with-expat=$PWD/`ls -d srclib/apr-util/xml/expat`

# apache2/bin/httpd -V
Server version: Apache/2.0.52
Server built:   Oct 19 2004 12:07:03
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
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_FCNTL_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/u01/opt/apache2"
 -D SUEXEC_BIN="/u01/opt/apache2/bin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

# apache2/bin/httpd -l
Compiled in modules:
  core.c
  mod_access.c
  mod_log_config.c
  mod_env.c
  mod_headers.c
  mod_setenvif.c
  mod_proxy.c
  proxy_connect.c
  proxy_ftp.c
  proxy_http.c
  worker.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c

DSO Modules included:
apache2.0.52/modules/mod_info.so apache2.0.52/modules/mod_expires.so
apache2.0.52/modules/mod_deflate.so
apache2.0.52/modules/mod_ssl.so siteminder/webagent/lib/libmod_sm20.so
siteminder/webagent/lib/libbtunicode.so
siteminder/webagent/lib/libsmlogging.so
siteminder/webagent/lib/libsmgda.so
siteminder/webagent/lib/libsmvariable.so



-----Message d'origine-----
De : Praveen Alavilli [mailto:Praveen1992@aol.com] 
Envoyé : jeudi 18 novembre 2004 16:43
À : users@httpd.apache.org
Objet : Re: [users@httpd] RE : Apache 2.0.51 - Mutex Lock Problem


Here are my build options - I am also using the MPM Worker along with 
openssl:

./configure --prefix=${DistDir}/${ApacheDir} --enable-shared 
--enable-mods-shared=most --enable-ssl --with-ssl=${DistDir}/openssl 
--with-mpm=worker


---------------------------------------------------------------------
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


Re: [users@httpd] RE : [users@httpd] RE : Apache 2.0.51 - Mutex Lock Problem

Posted by Praveen Alavilli <Pr...@aol.com>.
what about the ssl_mutex file ? Do you have that setting too and do you 
see the file being created ? Just wondering if it's the openssl that's 
having problem with mutex locking.

I don't see that file  & also ssl_scache created on my machine.

thx
Praveen

Axel-Stéphane SMORGRAV wrote on 11/18/2004, 11:59 AM:

 > Below is my original mail about the problem, including the details of
 > the Apache build and modules included.
 >
 > I do use SSL and have tried both
 > SSLSessionCache         dbm:%%SERVER_ROOT%%/logs/ssl_scache
 > and
 > SSLSessionCache         shm:%%SERVER_ROOT%%/logs/ssl_scache
 >
 > I do not use mod_security, but I do use Netegrity's libmod_sm20.so.
 > Since you have the same problem w/o the Netegrity modules, I think we
 > can rule it out. Other than that I have absolutely no idea about what
 > causes this error...
 >
 > -ascs
 >
 >
 > --------------
 > Is the following error familiar to anyone?
 > [warn] (45)Deadlock situation detected/avoided: Failed to acquire
 > global mutex lock
 >
 > I have this problem with Apache 2.0.52 on Sun Solaris 8, but I am
 > unable to reproduce it using Apache 2.0.49 with the same configuration.
 >
 > During compilation of both server versions I use the following
 > configuration flags (in addition to enabling modules):
 > --enable-rule=SHARED_CORE --enable-rule=SSL_EXPERIMENTAL
 > --with-mpm=worker --enable-nonportable-atomics --with-ssl=/u01/opt
 > --with-expat=$PWD/`ls -d srclib/apr-util/xml/expat`
 >
 > # apache2/bin/httpd -V
 > Server version: Apache/2.0.52
 > Server built:   Oct 19 2004 12:07:03
 > Server's Module Magic Number: 20020903:9
 > Architecture:   32-bit
 > 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_FCNTL_SERIALIZE
 > -D APR_USE_PTHREAD_SERIALIZE
 > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 > -D APR_HAS_OTHER_CHILD
 > -D AP_HAVE_RELIABLE_PIPED_LOGS
 > -D HTTPD_ROOT="/u01/opt/apache2"
 > -D SUEXEC_BIN="/u01/opt/apache2/bin/suexec"
 > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 > -D DEFAULT_ERRORLOG="logs/error_log"
 > -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 > -D SERVER_CONFIG_FILE="conf/httpd.conf"
 >
 > # apache2/bin/httpd -l
 > Compiled in modules:
 >   core.c
 >   mod_access.c
 >   mod_log_config.c
 >   mod_env.c
 >   mod_headers.c
 >   mod_setenvif.c
 >   mod_proxy.c
 >   proxy_connect.c
 >   proxy_ftp.c
 >   proxy_http.c
 >   worker.c
 >   http_core.c
 >   mod_mime.c
 >   mod_status.c
 >   mod_autoindex.c
 >   mod_cgi.c
 >   mod_negotiation.c
 >   mod_dir.c
 >   mod_userdir.c
 >   mod_alias.c
 >   mod_rewrite.c
 >   mod_so.c
 >
 > DSO Modules included:
 > apache2.0.52/modules/mod_info.so apache2.0.52/modules/mod_expires.so
 > apache2.0.52/modules/mod_deflate.so
 > apache2.0.52/modules/mod_ssl.so siteminder/webagent/lib/libmod_sm20.so
 > siteminder/webagent/lib/libbtunicode.so
 > siteminder/webagent/lib/libsmlogging.so
 > siteminder/webagent/lib/libsmgda.so
 > siteminder/webagent/lib/libsmvariable.so
 >
 >
 >
 > -----Message d'origine-----
 > De : Praveen Alavilli [mailto:Praveen1992@aol.com]
 > Envoyé : jeudi 18 novembre 2004 16:43
 > À : users@httpd.apache.org
 > Objet : Re: [users@httpd] RE : Apache 2.0.51 - Mutex Lock Problem
 >
 >
 > Here are my build options - I am also using the MPM Worker along with
 > openssl:
 >
 > ./configure --prefix=${DistDir}/${ApacheDir} --enable-shared
 > --enable-mods-shared=most --enable-ssl --with-ssl=${DistDir}/openssl
 > --with-mpm=worker
 >
 >
 > ---------------------------------------------------------------------
 > 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
 >



---------------------------------------------------------------------
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