> > > I have recently rebuilt our build of apache 1.3.12 with
> > > mod_ssl-2.6.5-1.3.12 , and both the HUP and USR1 signals cause a
> complete
> > > termination of httpd. Syslog catches the following:
> > >
> > That is the same story as we've seen a lot about over the last week
> > with graceful restarts. See
> http://marc.theaimsgroup.com/?t=96461683800002&w=2&r=1
>
>   Bugfix from Ralf would be very welcome. Not the situation I like for
> my web servers - static apache core dumps on restart, DSO module leaks
> memory :).

I posted a patch in there somewhere which fixes the core dumps on graceful
restarts.  I've pasted the patch in here.

No idea where Ralf is, he responded briefly about the patch, but it does not
seem to be a priority to him.  Unfortunately, it seems to be quite a show
stopper for many people at this time.

The memory leak when built as a DSO is very small, unless you do hundreds or
thousands of restarts, when it may start to become a problem if you are low
on memory.

Here's the patch to fix the segfaults:

--- mod_ssl-2.6.5-1.3.12/pkg.sslmod/ssl_engine_init.c.orig      Tue Jul  4
21:21:10 2000
+++ mod_ssl-2.6.5-1.3.12/pkg.sslmod/ssl_engine_init.c   Thu Jul 27 10:17:30
2000
@@ -1025,9 +1025,11 @@
     /*
      * Try to kill the internals of the SSL library.
      */
+#ifdef SHARED_MODULE
     ERR_free_strings();
     ERR_remove_state(0);
     EVP_cleanup();
+#endif

     return;
 }


-Dave

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to