Apache 2.2.4 childs dumping core when SSLSessionCache uses shm
am 19.03.2007 17:22:08 von Yannick MercierHey list,
when I set SSLSessionCache to shm:/opt/apache/logs/ssl_scache(512000) or
to shmcb:/opt/apache/logs/ssl_scache(512000) httpd childs dump core
with this output to the error_log when LogLevel is set to debug :
[Mon Mar 19 08:45:27 2007] [info] Initial (No.1) HTTPS request
received for child 2 (server www.example.com:443)
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(468): [client
10.1.2.3] inside shmcb_status
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(983): entering
shmcb_expire_division
[Mon Mar 19 08:45:27 2007] [debug] ssl_scache_shmcb.c(535): [client
10.16.250.8] leaving shmcb_status
[Mon Mar 19 08:45:27 2007] [info] [client 10.1.2.3] Connection closed
to child 2 with unclean shutdown (server www.example
..com:443)
[Mon Mar 19 08:45:28 2007] [notice] child pid 27827 exit signal Bus
error (10), possible coredump in /opt/apache
When running ipcs -sa to display shared memory usage as root, I get no output.
With my old apache 1.3 using mod_ssl and MM I have output when running ipcs -sa
To fix my problem, I have set SSLSessionCache to use dbm, that way I
get no errors but it is documented that dbm can suffer instability
under heavy load ...
Anyone can help fixing this ? any suggestions ? I built apache with
Sun Studio 11 under Solaris 8 with mod_authnz_ldap/openldap in 64bit
with these flags to the compiler -fast -xarch=v9b -xcode=pic32 , I
then compiled mod_perl and mod_evasive using apxs
Thank you
Yannick
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org