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

SV: [TSVN] TSVNCache.exe stuck using 18-20% CPU

From: Karlsson Mattias <mtkal_at_wmdata.com>
Date: 2005-09-13 12:56:01 CEST

I have seen the exact same behaviour from TSVNCache on my computer, many times.

For no reason what so ever it takes 25-35% of the CPU all the time, without any end.

Since last afternoon my TSVNCache hace taken 5 hours of CPU-time, and under that time nothing have been done with the computer!

* I have a portable computer with a Petium-M processor.
* I have over 500MB of free RAM and no programs on the computer that moves any of the files in the working copy.
* I have tried to disable my Antivirus application, but that have never helped.
* I have runned Filemon from Sysinternals (www.sysinternals.com) to see what TSVNCache and other programs is doing on the disk, and the result have I attached to this mail in a zip-file.
(TSVNCache is accessing a small collection of files in ONE directory in my WC, all the time, hour after hour after hour!)

* I terminated TSVNCache. After a restart of my Explorer-window it started TSVNCache again and it takes now 0-1% of CPU-time, with peeks of 10-20% when I navigate in a Explorer-window. After a while it goes down to 0% again as it should.

* Commits and other commands through TortoiseSVN is after my termination of TSVNCache a LOT faster!

* I don't know now if the behaviour can be trigged again or if it just can happend again after a reboot of the mashine.
        (If it starts again before my next reboot I will be sending a report to this maillist again)

// Mattias

-----Ursprungligt meddelande-----
Från: Peter McNab [mailto:mcnab_p@melbpc.org.au]
Skickat: den 13 september 2005 02:45
Till: dev@tortoisesvn.tigris.org
Ämne: Re: [TSVN] TSVNCache.exe stuck using 18-20% CPU

Moretti, Giovanni wrote:

>>From: Scott Palmer [mailto:scott@digital-rapids.com]
>>Sent: Tuesday, September 13, 2005 5:37 AM
>>
>>When I got in this morning I noticed that my CPU usage was high for
>>some reason. I wasn't aware of any process that was actually doing any
>>work.
>>
>>
>
>I've notice the same thing but worse 80-90% of CPU on a P4 1.6GHz with
>512MB ram (WinXP). Killing TSVNCache restores my PC to usable and
>TortoiseSVN seems to work normally ... This has happened several times.
>
>Not sure if it makes any difference but:
>
> - the working copy is big. The total (including TSVN folders) is
> 688MB (16000 files and 4747 folders)
>
> - the working copy and repo are on the same PC
>
> - using SVNServe on this PC for access
>
> - and the working copy is composed mostly of half a dozen externals
> sucking bits out to the repo into the top level of the working copy.
>
> - Using TSVN 1.2.2 Build 4295 and Subversion v1.2.0 for SVNServe
>
>I know the PC's getting on a bit but losing 80-90% of CPU really makes
>it sluggish :-)
>
>Any thoughts?
>Giovanni
>
>
>
I don't have an answer but from your description it might be a fair to assume the OS has make active use of the swap file because of the amount of memory consumed by the cache in handling such a large WC.

Something you might do is try running CacheMan from http://www.outertech.com and see if that improves the situation.

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Tue Sep 13 12:57:34 2005

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