You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is somewhat related to #2919. When the http_listener input gets blocked waiting on the output channels it seems to leak sockets.
Ultimately we are left with this in the logs
I! http: Accept error: accept tcp [::]:8186: accept: too many open files; retrying in 1s
This may be the same root cause as the issue above, but I am reporting separately as it seems that the http listener should do a better job of closing its sockets, unrelated to the blocking issues documented in the other issue
Relevant telegraf.conf:
Any config that enables the http_listener. See #2919 for an example
This should actually have been fixed in 1.9.0. If you have a later version of Telegraf than this, can you double check that the reproduction steps above reproduce the error.
Bug report
This is somewhat related to #2919. When the http_listener input gets blocked waiting on the output channels it seems to leak sockets.
Ultimately we are left with this in the logs
This may be the same root cause as the issue above, but I am reporting separately as it seems that the http listener should do a better job of closing its sockets, unrelated to the blocking issues documented in the other issue
Relevant telegraf.conf:
Any config that enables the http_listener. See #2919 for an example
System info:
telegraf version 1.3.1
Steps to reproduce:
lsof
and you should see many sockets in aCLOSE_WAIT
stateExpected behavior:
The listener should do a better job of closing its sockets that the client walks away from, this way it doesn't end up running out of file handles
Actual behavior:
Additional info:
Here is the output from
lsof
with a http_listener running on port 8186The text was updated successfully, but these errors were encountered: