Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Handle counts not getting cleaned up and rising up to ~100000

$
0
0

We are facing with an issue for which root cause is still unknown to us :

Our server configuration is as follows :

32 Core 2.4 Ghz
Windows 2012 Server(Windows NT 6.2 64 Bit)
128 GB RAM
55 TB Hardisk Drive

The issue :

We recently figured out that for one of the service running on this box the handles count goes on increasing. Did some dump analysis using the WinDbg tool to find the handles were Event handles.

  • One strange is that if we make a call to "GC.Collect", then the handles drop back to normal values. For example : If I leave the service running for 1 hour the handle count is ~30K. And after making call to GC.Collect() it drops to ~700.
  • The same service works fine on my other machine with comparatively less configuration. Why is the garbage collector not getting called automatically to collect the handles. 

    We faced a critical issue cause of this. It seems like the service used a large number of handles >~100000 and due to this one of the service was not able to access the 55TB hardisk.

    Anyone know something about this ?

Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>