[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: John Szakmeister <john_at_szakmeister.net>
Date: 2006-09-15 11:13:14 CEST

----- berni <bernhard_heibler@gmx.de> wrote:
> >
> > 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 ...

Are you using mod_php at all? I've found that having mod_php and mod_dav_svn together, tends to tickle this issue. Putting the Subversion host in a separate apache process (not just VirtualHost, but launching a different apache process run the host) remedies the situation. I'm not sure that'll work for your setup, since you'll need a separate IP to bind the host to.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 15 11:13:38 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.