Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should have a read deadline on the API and Admin server #422

Closed
pauldix opened this issue Apr 8, 2014 · 1 comment
Closed

Should have a read deadline on the API and Admin server #422

pauldix opened this issue Apr 8, 2014 · 1 comment
Milestone

Comments

@pauldix
Copy link
Member

pauldix commented Apr 8, 2014

Many clients that connect to InfluxDB keep alive their connections and then don't reuse them. This ends up opening many thousands of connections to Influx and causing problems. We should timeout on Reads after a certain amount of time. I think 5 seconds is a reasonable default with the ability to override it in the configuration.

For reference see http://stackoverflow.com/questions/10971800/golang-http-server-leaving-open-goroutines and https://code.google.com/p/go/issues/detail?id=4676

@pauldix pauldix added this to the 0.5.6 milestone Apr 8, 2014
@pauldix
Copy link
Member Author

pauldix commented Apr 8, 2014

This is a dupe of #421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants