influxdb-relay icon indicating copy to clipboard operation
influxdb-relay copied to clipboard

the relay leak client sockets in TIME_WAIT state when QPS is high

Open micastle opened this issue 7 years ago • 2 comments

Seems the sockets connecting to backends are not closed in time. this causes socket port exhausted on the machine. I guess re-using the the http transport to backends should resolve the issue, it is not necessary to create new one for each write request.

BTW, I found it on windows.

micastle avatar Apr 07 '17 07:04 micastle

Is there a open bug on this issue? Also has anyone provided a concrete work around to prevent this from happening?

jeffmart avatar Oct 20 '17 14:10 jeffmart

Fixed on https://github.com/vente-privee/influxdb-relay.

rockyluke avatar Jul 02 '18 20:07 rockyluke