[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: Thomas Åkesson <thomas_at_akesson.cc>
Date: Mon, 19 Nov 2012 15:45:47 +0100

On 14 nov 2012, at 01:44, Daniel Shahaf 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().)

Looking at it from another perspective, perhaps the cache should live within a separate daemon? That would address not only the hook script problem but also the challenges of prefork processes typically required when combining Subversion and PHP.

Just a thought,
/Thomas Å.
Received on 2012-11-19 15:46:08 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.