Hey Doug,

Any reason why PerlRestartHandler is still experimental ?
I gave it a spin at your advice by compiling with 
PERL_RESTART_HANDLER=1 and it works great.  It would be 
nice if the handler moved into EVERYTHING=1 at some point.

PerlRestartHandler is useful with Apache::ASP, as it allows
a parent httpd to recompile changed ASP scripts, if 
Apache::ASP->Loader() is run in the PerlRestartHandler.
The parent recompiles changed scripts with a graceful
restart, minimizing the downtime of one's site.  This is
much better than having to a full stop / start of apache,
which will kill currently active connections.

Precompiling scripts in the parent httpd shares these 
precompilations with the forked child httpds, so that RAM 
is saved and CPU spared, instead of compiling the scripts 
in each child httpd separately.

A similar strategy may be used with precompiling 
cgi scripts run with Apache::Registry and precompiled
by Apache::RegistryLoader.

-- Joshua
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NODEWORKS >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Reply via email to