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

TortoiseProc.exe hangs sporadically during update.

From: Terry Dooher <Terry.Dooher_at_naturalmotion.com>
Date: Thu, 21 May 2015 14:13:33 +0000

We're seeing an issue that's biting a few of our users at the moment. It has been intermittent, but I've managed to observe this on a client system over the course of an afternoon's work.

We have a large repo containing many binary assets. (Full working copy is ~270GB, including pristine, though we've scripts to assist with sparse checkouts for most users). When updating an existing working copy (about 50 revisions old, roughly a day's work), the update will proceed as normal for a random amount of time and the throughput will then drop to 0 kb/s and never recover.

TortoiseProc when running normally will tick over at < 1% CPU. The moment it hangs, this ramps up to saturate a full hardware thread and stays there. RAM usage is at ~60MB. Using procmon/procexp shows that once it hits this state there isn't a single further byte of network or disk I/O. The process has to be killed, the WC cleaned up and the update retried. This works for a while; sometimes it succeeds, sometimes it lasts as little as 20 seconds before it hangs again.

There's no pattern I can discern in timing, number of changed files, . The last file shown in the log (or the next one listed in the repo) will be small, large, text or binary. Looking at the process threads in procexp, I can see the 99.99% of the CPU cycles going on:
  MSCVR110.dll!endthreadex+0x90
With a <.01% on TortoiseProc.exe. This ties up with what procmon shows: lots of filesystem activity up to the point of the hang, with a ThreadClose being the last operation logged.

There are no obvious storage and performance issues on the system. The AV client is disabled (and is prevented by a filter from scanning working copies anyway). One user left it in this state for 2-3 hours, so we know it doesn't recover in any meaningful time frame.

PC is an Intel i7, 16GB RAM, Local spinning storage disk. (2TB)
OS is Windows 7 x64 SP1.
Tortoise is 1.8.11.26392
MSVCR110 is 11.0.51106.1

Can anyone suggest any further debugging steps? (or identify a particular cause?)

Cheers,

Terry.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3118557

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-05-21 16:28:02 CEST

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