sbrudenell / sb8200_exporter

A prometheus exporter for the Arris SB8200
MIT License
4 stars 9 forks source link

sb8200_exporter stops responding #5

Closed jakajancar closed 5 years ago

jakajancar commented 5 years ago

Hey,

After a while, sb8200_exporter stops responding for me. It's still listening:

# ss -lp | grep 1098
tcp      LISTEN    6         5                                          0.0.0.0:9195                                               0.0.0.0:*                     users:(("sb8200_exporter",pid=1098,fd=3))             

however connections time out:

# time curl -v http://127.0.0.1:9195
* Expire in 0 ms for 6 (transfer 0x55d1fb138d30)
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55d1fb138d30)
* connect to 127.0.0.1 port 9195 failed: Connection timed out
* Failed to connect to 127.0.0.1 port 9195: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to 127.0.0.1 port 9195: Connection timed out

real    2m10.595s
user    0m0.024s
sys 0m0.006s

I'm guessing this means accept() isn't being called somewhere.

Nothing in the logs at all.

Any ideas?

jakajancar commented 5 years ago

Just wanted to say this was fixed (from consistently freezing within an hour, to never seeing it happen again) with the upgrade from Debian Stretch to Debian testing (just after Buster release). Not sure whether it was Python or anything else, but in case anyone has the problem: try upgrading your deps.