mdlayher / apcupsd_exporter

Prometheus exporter that exposes metrics from apcupsd's NIS. MIT Licensed.
MIT License
156 stars 65 forks source link

Possible memory leak on FreeBSD? #18

Closed davehayes closed 3 years ago

davehayes commented 3 years ago

Watching apcupsd_exporter's scrape duration, I noticed over a period of 24 hours that this duration went from 40ms to an entire second. Looking at the process table, I find the VSZ at 734 MB. That looks like a memory leak to me. :)

I'm on FreeBSD 12.2 with go version 1.15.8.

davehayes commented 3 years ago

Ok it's not a memory leak, apologies for the issue.