This problem is why mod_cgid exists. Been there. Done that. It creates a
daemon early, before threads/mem are allocated. The child CGI processes are
then fast to spawn.

Cheers,
-g

(*) http://httpd.apache.org/docs/2.4/mod/mod_cgid.html
On Nov 13, 2012 6:44 PM, "Daniel Shahaf" <[email protected]> wrote:

> Philip Martin wrote on Tue, Nov 13, 2012 at 21:30:00 +0000:
> > Perhaps we could start up a separate hook script process before
> > allocating the large FSFS cache and then delegate the fork/exec to that
> > smaller process?
>
> If so, let's have that daemon handle all forks we might do, not just
> those related to hook scripts.  (Otherwise we'll run into the same
> problem as soon as we have another use-case for fork() in the server
> code --- such as calling svn_sysinfo__release_name().)
>
> >
> > --
> > Certified & Supported Apache Subversion Downloads:
> > http://www.wandisco.com/subversion/download
>

Reply via email to