:: Re: [DNG] Supervision scripts
Forside
Slet denne besked
Besvar denne besked
Skribent: Didier Kryn
Dato:  
Til: dng
Emne: Re: [DNG] Supervision scripts
Le 05/05/2016 16:11, Rainer Weikusat a écrit :
>> >I would not like to, for example, install apache and mod php and have
>> >it restart after it has crashed due to a crappy PHP application. I am
>> >of the opinion that is a big security risk.
> But that's exactly what you get with apache (and mod_php) when running
> it as UNIX(*) server: There'll be a number of pre-forked processes for
> handling client requests and a built-in supervisor daemon for managing
> 'handler processes': Assuming one of these crashes, this will only
> affect the client connection handled by this server process at this
> time. Other processes will continue to handle requests unaffected. And
> the supervisor process will fork a new handler process in case the crash
> cause the number of idle server to drop below the configured minimum
> (MinSpareServers).


     The same will happen with any server launched through inetd.


     Didier