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

accept4: too many open files; retrying in 1s #152

Closed
speedwheel opened this issue Aug 9, 2018 · 1 comment
Closed

accept4: too many open files; retrying in 1s #152

speedwheel opened this issue Aug 9, 2018 · 1 comment

Comments

@speedwheel
Copy link
Contributor

I am using google places api to inside a loop and after 100k loops I always get this error:
[HTTP Server] http: Accept error: accept tcp :443: accept4: too many open files; retrying in 1s

I am using 2 apis inside the loop: PlaceAutocomplete and PlaceDetails, any thoughts?

@domesticmouse
Copy link
Contributor

I’m curious to see your code. The rate limiter should prevent you from opening connections quickly enough to utilise all of your open file quota.

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