I'm running an instance of Apache Tomcat (5.5) on a Windows 2008 platform. I think I'm seeing an issue related to concurrent file access / locking.

When the number of concurrent HTTP threads is increased beyond the default setting (150), I see (using a site monitoring tool) an increasing number of 'unnatural' delays when serving some static content (.js .gif .png etc). By this, I mean that the server takes 20 seconds plus before starting to send or taking 30 seconds to serve a small (2KiB) file.

When Tomcat is busy (serving over 300 threads), CPU usage averages around 50-60% and disk usage is around 10-30mbps.

On a Linux platform, I could list the files open for a given process and tune the number allowed etc etc. Are there any similar tools for Windows?

Alternatively, is there anything else I should be looking into?

Screenshot of site analysis tool: enter image description here

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

On a Linux platform, I could list the files open for a given process and tune the number allowed etc etc. Are there any similar tools for Windows?

It's not pretty, but handle.exe gives you some serious output on file handles.

\path\to\handle.exe | find /i "filename"

link|improve this answer
I am sure that might be something more elegant and/or builtin into Windows, but rarely do those tools give you a serious, low-level description what is going wrong where. So, I hope this might help you. It helps me a lot. – alharaka Mar 7 '11 at 14:25
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.