Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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"

share|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. –  ajstein Mar 7 '11 at 14:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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