Topbeat leaks handles on Windows

Topbeat seems to be leaking handles on Windows (2012R2). After running for appx. 12hours on a box with 16GB memory the taskmanager shows more than 250.000 handles (see screenshot below). After we kill the topbeat process the "used memory" on the machine also drops by more than 30% (see second screenshot). We are using RC1.

After killing the topbeat process:

Finally, it would be nice if topbeat would report the number of used handles to ES. That way we could have caught the error using topbeat and Kibana :smile:

Hi @lrolsen, we fixed this issue and it will be included in the next release. Thanks for reporting though.

https://github.com/elastic/topbeat/issues/98

I opened an enhancement issue for your suggestion. I too think that would be nice feature.

https://github.com/elastic/topbeat/issues/120