rokett / Citrix-NetScaler-Exporter

Prometheus exporter for Citrix NetScaler
https://github.com/rokett/Citrix-NetScaler-Exporter
MIT License
20 stars 16 forks source link

socket: too many open files #56

Open anhtuan206 opened 1 year ago

anhtuan206 commented 1 year ago

nohup.out.log I'm getting the attached error while running Citrix-NetScaler-Exporter. In my environment, I have Citrix ADM and Citrix-NetScaler-Exporter and https://github.com/citrix/citrix-adc-metrics-exporter are connecting and collecting metrics from the same Citrix ADC appliance but Citrix-NetScaler-Exporter is getting the issue.

rokett commented 1 year ago

sorry for the delay....I can't say I have ever come across that issue thus far in using the exporter. I wonder if it is related to #51 though, for which I merged a change into master recently.

I haven't made a new tagged release with those changes yet as I was intending to tackle some of the other outstanding issues first. Are you able to pull the repository and build a new binary yourself to test it out?

Dom137 commented 4 weeks ago

ports.txt Hi! We see a similar behaviour: The exporter opens quite a lot of ports (see extract attached), but never closes them. This leads to the server running out of resources at some point in time. Why is it opening so many ports? Is this intended?