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

Re: Can't open file 'D:\Repositories\repo\db\current': The process cannot access the file because it is being used by another process

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Thu, 20 Mar 2008 07:18:06 -0400

Jonathan Ashley wrote:
> - change of anti-virus software (which I have asked nicely to not concern
> itself with the contents of the repository areas)

This is the one thing that screams out at me. Microsoft AV software hooks *all*
disk access at a very low level (and does so as a chain), and frequently can
interfere with applications that write lots of small temporary files. As I
understand it, most AV packages simply return NOOP/SKIP for directories/files
which have been excluded from scanning, but the hook(s) themselves are still
called for *every* *single* *file* *access*. This can disrupt the timing of
numerous applications (not just Subversion) that rely on temporary files.

Here's some suggestions:

1) Try turning off your AV software for a while and see if your problems go away;

2) Disable write scanning (in other words only have "on-access" scanning enabled);

3) Uninstall that AV package and install one of the other packages (either a
commercial demo or one of the free package, WinClam seems nice).

4) Install a Linux computer (I've grown to like Centos5 actually) and get a much
higher performance repository in the process (you can still authenticate your
users with Windows via Apache)... ;-)

HTH

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-20 12:18:07 CET

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.