SVNForum.org Forum Index FAQFAQ SearchSearch MemberlistMemberlist RegisterRegister Log inLog in
 
TSVNCashe.exe process takes 40-50% of CPU time

 
Post new topic   Reply to topic    SVNForum.org Forum Index -> Windows
View previous topic :: View next topic  
Author Message
EvgeniySH



Joined: 13 Jan 2006
Posts: 12

PostPosted: Thu Feb 02, 2006 11:39 am    Post subject: TSVNCashe.exe process takes 40-50% of CPU time Reply with quote

Sometime TSVNCashe.exe process starts to take 40-50% of CPU time, in spite of no SVN process are running, no SVN actions are performed and even all the Explore windows are closed. It will take this CPU usage until the system is restarted.
What can be the reason?
Back to top
View user's profile Send private message
Mahesh
Site Admin


Joined: 20 Apr 2005
Posts: 468
Location: Virginia, USA

PostPosted: Sun Feb 05, 2006 3:06 am    Post subject: Re: TSVNCashe.exe process takes 40-50% of CPU time Reply with quote

On Command prompt, type in
> perfmon

Selec the particular process and see if that result you saw 40-50% is consistent.

Sometimes I get different result.

--Mahesh
Back to top
View user's profile Send private message Send e-mail
Karplusan



Joined: 16 May 2007
Posts: 1

PostPosted: Wed May 16, 2007 8:26 pm    Post subject: Reply with quote

I've had a similar issue, except it doesn't continue to run until reboot, it usually finishes at some point.

This also just happened to me a few moments ago and as soon as I was done unzipping a large directory, it stopped using the CPU. Is it possible that writting to the same drive activated it? Or was TSVN looking for potential things being unzipped to cashe?

My question is: What does TSVNCashe.exe DO? Following that, what is it supposed to do?
Back to top
View user's profile Send private message
MarkG



Joined: 25 Jun 2007
Posts: 2

PostPosted: Mon Jun 25, 2007 6:32 pm    Post subject: Reply with quote

Is this ever likely to be fixed? It's become really annoying since I installed the latest Tortoise SVN; I scroll around an Explorer window, Explorer locks up and TSVNCache is eating up all the CPU time on one CPU. All I can do is run Task Manager and kill it.

Alternatively, is there some way to disable the damn thing? I'd rather have a working machine without the SVN icons than a non-working machine.
Back to top
View user's profile Send private message
MarkG



Joined: 25 Jun 2007
Posts: 2

PostPosted: Mon Jun 25, 2007 6:44 pm    Post subject: Reply with quote

OK, deleting the TSVNCache.exe executable seems to work... Smile.
Back to top
View user's profile Send private message
andyl



Joined: 03 Nov 2005
Posts: 4242

PostPosted: Mon Jun 25, 2007 8:50 pm    Post subject: Reply with quote

TSVNCache shouldn't be locking you up UNLESS it's contending with another process for access to files.

For example, if you have an on-access virus scanner that isn't set to ignore .svn directories, that scanner is probably holding exclusive locks to files longer than expected.
Back to top
View user's profile Send private message
Glen



Joined: 30 Jul 2007
Posts: 3

PostPosted: Mon Jul 30, 2007 8:50 pm    Post subject: Reply with quote

From the TortoiseSVN settings dialog, pick the "Icon Overlays" node under "Look and Feel" and add the following to the "Exclude Paths" box:

A:\*
C:\*
D:\*
E:\*
(repeat for F-Y)
Z:\*

Then, in the "Include paths" box, add only the root folders where you check out your working copies, e.g.:

C:\MySourceRoot\*
C:\MyOtherCode\*
etc.

Includes have precedence over excludes, so you will still get icons for your checkout folders, but the lockups and cpu usage problem will stop.

Apparently there is a bug in TSVNCache, because it will continue to scan the root of the C:\ drive all day long, even if you have no source folders included on C:\ (all of mine are on E:\). FileMon from sysinternals will verify this.
Back to top
View user's profile Send private message
andyl



Joined: 03 Nov 2005
Posts: 4242

PostPosted: Mon Jul 30, 2007 9:10 pm    Post subject: Reply with quote

Glen wrote:
Apparently there is a bug in TSVNCache, because it will continue to scan the root of the C:\ drive all day long, even if you have no source folders included on C:\ (all of mine are on E:\). FileMon from sysinternals will verify this.
Yes, it will do that, because it needs to find working copies before it can provide information about them.

If you think that something's going wrong with that process which is a true bug, you should submit it to the TSVN developers. It shouldn't be scanning the root in such a "posessive" fashion all the time.
Back to top
View user's profile Send private message
kazoo



Joined: 13 Sep 2007
Posts: 1
Location: Waukesha, WI

PostPosted: Thu Sep 13, 2007 11:18 am    Post subject: is this a bug or a feature Reply with quote

Back to top
View user's profile Send private message
View previous topic :: View next topic  
Post new topic   Reply to topic    SVNForum.org Forum Index -> Windows All times are GMT - 4 Hours
Page 1 of 1
Display posts from previous:   
Google
 
Web SVNForum.org

 




Powered by phpBB