Hi,

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

Here's the evidence:

[root@hobbes test]# ./apachectl startssl
./apachectl startssl: httpd started
[root@hobbes test]# ps axf | grep /usr/bin/httpd
 5484  ?  R    0:07 /usr/bin/httpd -d /usr/apache/test -DSSL
[root@hobbes test]# lynx -dump http://localhost:2222/ >/dev/null
[root@hobbes test]# ps axf | grep /usr/bin/httpd
 5484  ?  S    0:09 /usr/bin/httpd -d /usr/apache/test -DSSL
 5487  ?  S    0:00  \_ /usr/bin/httpd -d /usr/apache/test -DSSL
 5488  ?  S    0:00  \_ /usr/bin/httpd -d /usr/apache/test -DSSL
 5489  ?  S    0:00  \_ /usr/bin/httpd -d /usr/apache/test -DSSL
 5490  ?  S    0:00  \_ /usr/bin/httpd -d /usr/apache/test -DSSL
 5491  ?  S    0:00  \_ /usr/bin/httpd -d /usr/apache/test -DSSL
 [root@hobbes test]# ./apachectl stop
./apachectl stop: httpd stopped
[root@hobbes test]#
 [root@hobbes test]#
[root@hobbes test]# ./apachectl start
./apachectl start: httpd started
[root@hobbes test]# ps axf | grep /usr/bin/httpd
5519  ?  S    0:00 /usr/bin/httpd -d /usr/apache/test
 5520  ?  S    0:00  \_ /usr/bin/httpd -d /usr/apache/test
 5521  ?  S    0:00  \_ /usr/bin/httpd -d /usr/apache/test
 5522  ?  S    0:00  \_ /usr/bin/httpd -d /usr/apache/test
 5523  ?  S    0:00  \_ /usr/bin/httpd -d /usr/apache/test
 5524  ?  S    0:00  \_ /usr/bin/httpd -d /usr/apache/test
 [root@hobbes test]#

I'm using mod_ssl-2.2.8-1.3.6 with openssl-0.9.2b.
System is: Red Hat Linux 5.1
Uname -a says: Linux hobbes 2.0.35 #1 Tue Jul 14 23:56:39 EDT 1998 i486
unknown
Config file available upon request.

 - David Harris
   Principal Engineer, DRH Internet Services


______________________________________________________________________
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