What happens when Windows runs out of handles?
Solution 1:
Microsoft's Mark Russinovich provides lots of these kinds of tests on his blog.
See Pushing the Limits of Windows: Handles
Solution 2:
Yes, this could easily be causing your system to become sluggish and unresponsive. Is it a homegrown application or commercial?
- Homegrown : fix the handle leak. Is something forgetting to close a file or TCP connection?
- Commercial : open a bug report and get that fixed.
For either, in the meantime, how long does it take for that many open handles to build up? Try restarting the process on an interval that won't affect your production environment, if you can.