httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <san...@temme.net>
Subject Re: make the server not to start in case the Initialization is a failure
Date Sat, 11 Sep 2004 03:00:24 GMT

On Sep 10, 2004, at 4:37 PM, Ian Holsman wrote:

> can you init the config file in a post-config hook instead of the 
> child?
> that can cause the apache to not start.

... since calling exit() will make the parent go away.

> FWIW.. you haven't considered the case where init-child is executed on 
> a running server for a new-process. would you like the entire server 
> to fail because it couldn't spawn a new process for example? (even 
> though the other children are quite happily serving requests)

That tends to turn Apache into a fork bomb, where it will slow down its 
host horribly as it's forking processes like mad only to have them die 
straight away.

S.

-- 
sander@temme.net              http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF

Mime
View raw message