[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: fork/exec for hooks scripts with a large FSFS cache

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 14 Nov 2012 00:06:55 -0500

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" <d.s_at_daniel.shahaf.name> 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
>
Received on 2012-11-14 06:07:29 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.