Apache 2.2.4 childs dumping core when SSLSessionCache uses shm

"Yannick Mercier" <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
Hey 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                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.