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

Re: Spuriously failing hook scripts

From: berni <bernhard_heibler_at_gmx.de>
Date: 2006-09-15 08:29:13 CEST

> I don't think your patch has any effect since APR sets SIGCHLD to
> SIG_DFL inside apr_proc_create.

apr_proc_create only sets SIGCHLD to SIG_DFL in the child branch of the
fork. This will not affect the parent process at all.

I know that my workaround might has side effects on other processes
launched by apache. But for two days now I had no failing hook scripts
on my server. Without the workaround I had one every 5 minutes and
angry svn users ...

We should create a thread safe solution for the signal handler. We
could use a list of valid process id's which is protected by a mutex.
But I would be happy if someone has a approach which is simpler ...


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 15 08:29:34 2006

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.