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

Re: Apache refuses to execute hooks after a while in connection with websvn

From: Markus Henschel <markus-henschel_at_gmx.de>
Date: 2006-04-26 12:25:09 CEST

Ryan Schmidt wrote:
> On Apr 24, 2006, at 12:30, Markus Henschel wrote:
>
>> This hook does what it is proposed - for a time. I noticed that after
>> running the server for a while sometimes a commit fails stating the
>> pre-commit hook failed. There are several strange things about that:
>>
>> 1. The hooks are executed and reach the exit 0. I know that because
>> when I output something to stderr before the "exit 0" it is displayed
>> to the client.
>>
>> 2. The failing frequency increases to a point where all (pre-commit)
>> hooks fail no matter what's in them. Even a dummy hook only containing
>> "exit 0" will fail.
>>
>> Unfortunately there are no more additional information in the apache
>> logs even when the log level is increased to debug. It just states
>> that a pre-commit hook failed with an empty error output. When I
>> restart the apache everything is fine again for the moment but the
>> problem reoccurs again after some uptime.
>
> Try verifying your repository with "svnadmin verify" to see if it's
> alright. "svnadmin recover" if necessary.
>
> If you're using a BDB repository, consider switching to FSFS. I don't
> think it's necessarily WebSVN that's causing the problem, but possibly
> just any concurrent access from another process, possibly over a
> different protocol. FSFS doesn't have problems with that; I believe BDB
> does. See the FAQ for how to convert.
>
> Please consider upgrading your Apache. 2.0.50 is almost two years old.
>
>
>
>

I did as you suggested:
1. Updated Apache to 2.2.0
2. Updated php4 to 4.4
3. the other things do not apply as it is a FSFS repository

As soon as I execute ANY php scripts my pre-commit hooks start failing
as written before. I installed the same version of subversion on another
machine running gentoo and everything is just fine there. So what else
could be wrong? I really have no idea what might be borked as there is
no informative output.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 26 12:26:13 2006

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

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