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

Potential bug, svn delete with large number of files in directory

From: Gary Bentley <barryg_at_programmer.net>
Date: 2006-05-05 04:13:59 CEST

Hi folks,

Couldn't find anything in the bug tracker that comes close to this so posting here as required first:

So first things first:

$ svn --version
svn, version 1.3.1 (r19032)
   compiled Mar 30 2006, 02:41:28

Using Windows XP Pro Version 2002 SP2


Installed subversion, haven't had subversion installed before.
Created a subversion repository.
Performed an initial import, the project I'm importing contains around 41500 files. The import went ok, took a while as you would expect.
Did a checkout, which worked ok.

(Note: I didn't actually want to import the 41500 files, most of those shouldn't be imported but I didn't know how to limit the import to certain files/directories, if possible. So I decided to import the entire project then go back and prune the directories I didn't want.)


Did a svn delete <directory> of a directory which contains 18000 files. The delete started off ok but after about 30 minutes it just "froze", that is no more output was being output to the shell. A sample of the output before it froze is given below:

D Apr-06\visits\21556.html
D Apr-06\visits\22285.html
D Apr-06\visits\39414.html
D Apr-06\visits\17581.html
D Apr-06\visits\16852.html
D Apr-06\visits\24871.html
D Apr-06\visits\41388.html

I'm not sure about whether it has marked all the files in the directory for deletion or not, it's certainly done a large proportion of them.

I then tried Ctrl+C in the shell window, but that didn't do anything, i.e. the process wasn't killed. Then tried the task manager and did "End Process" on svn.exe but that doesn't kill the process either.

Now in the task manager the svn.exe process is trying to use as much CPU as it can (so I presume it's doing something) however other figures such as IO writes/Mem Usage etc are static, figures are:

Mem Usage: 144K
Peak Mem Usage: 60,948K
I/O Writes: 4,067
I/O Write Bytes: 20,534,636,726 (this seems a little high to me, but who knows)
I/O Reads: 205,889
VM Size: 61,280K

Now these figures haven't changed for about an hour.

The CPU Time is (currently and rising!): 1:33:06

Thing is I'm now gonna have to restart my machine (and probably have to do a power-cycle to do it).

Anyone agree that this is a bug?



Play 100s of games for FREE! http://games.mail.com/
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 5 10:47:15 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.