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

100% CPU in TSVNCache thread #2

From: Brian S O'Neill <broneill_at_earthlink.net>
Date: 2006-02-09 06:12:00 CET

After I perform any SVN operation through TortoiseSVN (or SVN command
line followed by F5 in explorer), the TSVNCache process goes to 100%.
During this time, explorer hangs until I kill TSVNCache. Thread #2 is in
an infinite loop.

I am unable to build TSVNCache, but I've still been trying to isolate
where the problem is. Because thread #2 is idle priority, it is either
FolderCrawler or ShellUpdater. These are the only two lowest priority
threads created.

When I use Filemon from sysinternals, it appears that TSVNCache is stuck
reading the root directory of my working copy. "FASTIO_QUERY_OPEN". The
root directory is a locally mounted file system, drive C. This little
loop here has makes me suspicious, but since I cannot build or debug, I
cannot check:

                    do
                    {
                        workingPath =
workingPath.GetContainingDirectory();
                    } while(workingPath.IsAdminDir());

I think the problem is that I have a .svn directory located at the root:
C:\.svn. I think this loop needs to check if it is at the root and stop.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Feb 9 06:12:34 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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