scylla-monitoring icon indicating copy to clipboard operation
scylla-monitoring copied to clipboard

Add file descriptor usage

Open SoyYoRafa opened this issue 5 years ago • 6 comments

Hi, Could you please add monitoring for file descriptor usage per instance? It's a resource that can be exhausted and it would be good how much head room there is.

SoyYoRafa avatar Aug 30 '19 03:08 SoyYoRafa

node_exporter expose file descriptor info with filefd[1]

[1] https://github.com/prometheus/node_exporter/blob/master/collector/filefd_linux.go

tzach avatar Sep 01 '19 07:09 tzach

The relevant metrics are: node_filefd_allocated and node_filefd_maximum

amnonh avatar Sep 01 '19 10:09 amnonh

These attributes collect the kernel limits. Can we also collect the scylla process limit ulimit -n? The scylla process would have to export this.

SoyYoRafa avatar Sep 01 '19 18:09 SoyYoRafa

@tzach is there a point in showing the kernel limit or usage?

amnonh avatar Dec 12 '19 09:12 amnonh

Yes, as they might run out, but I'm not sure it's as interesting. @SoyYoRafa please note you can add you own custom metrics

tzach avatar Dec 12 '19 09:12 tzach

@amnonh bump

fee-mendes avatar May 05 '22 00:05 fee-mendes