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

Re: Bug: apache/mod_svn intermittently creates transaction dirs with incorrect permissions or ownership such that the transaction breaks.

From: Michael Sinz <Michael.Sinz_at_sinz.org>
Date: 2005-09-17 19:31:08 CEST

John Duprey wrote:
> Michael
>
> Could you please send the script - I wrote my own "bash the server hard"
> script and other than finding an annoying behavior of "svn mkdir" it has
> yet to show a problem. (I only did 9000 or so revisions with it,
> many in
> parallel, and no problems) All over HTTP/DAV
>
>
> Nothing sexy here:
> while [ 1 ] ; do echo `date` >> JWD.txt; svn ci -m "A test commit from home."; sleep 1; done
>
> But for my problem, it exposes it quickly.

Hmmm... I have now run that for 1 hour against both of my test servers. They
are both Apache 2.0.54 and Subversion 1.2.3 builds - one on an old (very old)
GCC 2.95 based Linux 2.4.x and the other on a relatively modern GCC 3.4 based
Linux 2.6.x system, always across the network. (And I even tried HTTP and HTTPS,
not that I would think it would matter)

But then again, my test script did not show any problems either.

My guess is that there is something strange with the Apache configuration and
the MPM/Prefork/etc configuration you are using and the base thread is ending
up doing some of the work (rather than just the workers - since I assume you
are running Apache as root and having it drop priv to the apache user)

You may want to look at http://svn.sinz.com/svn/Insurrection/trunk/insurrection.conf
as it will show you basically the configuration that I run on sinz.com (a
production server that has not shown this problem but I have not hit as hard
due to the fact that it is *production*) I use basically the same setup on
my test systems.

-- 
Michael Sinz                     Technology and Engineering Director/Consultant
"Starting Startups"                                mailto:michael.sinz@sinz.org
My place on the web                            http://www.sinz.org/Michael.Sinz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 17 19:33:01 2005

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.