Help trying to run selftest on EC2

Adrian Wilkins adrian.wilkins at gmail.com
Wed Dec 2 18:02:22 GMT 2009


On 02/12/09 17:42, jam wrote:
> Does anyone know if there is a way to list open file handles for a
> process?

There's the excellent Sysinternals suite of tools, which I've used to 
debug similar problems with Bazaar in the past (specifically #304023).

ProcMon, and FileMon are probably the most relevant here, you can 
configure them to log all filesystem events and highlight interesting 
things (like errors). ProcExp will let you grab a live process and see 
which file handles it holds, or conversely let you find which process is 
holding a file, but it's very much a live snapshot and you might not be 
able to catch it in the act, so to speak.

http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx

Given this is an EC2 server - are the files in question on an SMB share, 
or are they a "local" disk... and is it really local? I'm not familiar 
with EC2 virtualization but storing things on a SAN really impacts a lot 
of things that like low-latency file access.



More information about the bazaar mailing list