What could be causing SVCHost to leak handles?
- by Goz
I have a problem that has been causing me all sorts of grief recently. SVCHost appears to be leaking resources all over the shop.
This is the SVCHost run with the arguments "-k netsvcs".
At the moment it is sitting at around 5,700 Handles being used. Before I rebooted the machine it was sitting at around 33,000 handles! This higher number has been causing me large problems as my software, thus, fails to obtain the handles it needs (The software tries to create around 2000 handles).
I'm totally at a loss as to what is going wrong. IF anyone could help me stop this happening it would be much appreciated.
I'm running on XP with SP3.
Edit: I tracked this problem down to the WMI system. I'm not sure why or how the problem was occurring. Basically I used "sc change" to move it into its own process and suddenly everything seems to be fine. I'm not entirely sure what is going on ...