On Thu, Apr 22, 1999, David Harris wrote:

> Why does apache-mod_ssl delay on forking off children until the first HTTP
> request comes in, while an unencumbered apache server forks the children off
> immediately on startup?
> 
> I did a quick search of the archives and didn't see any discussion about
> this. This behavior in itself does not really bother me much, but I want to
> make sure that Ralf knows this is happening. I have the feeling that this
> _might_ be some dormant bug. So, just giving you a heads up...

No, I think the startup procedure confused you.  You looked via "ps" directly
after startup and found just a single process. Then you did the request and
found more processed. But that's a coincidence.  What happens is that with
mod_ssl the startup can take a few seconds(!) more (up to 10s on slow
machines!) because two RSA temporary keys have to be generated. So, what
happens is not that the children are forked on the first request.  They are
forked at startup, but the startup needs a lot more time than with a non
SSL-aware Apache.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)  www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to