-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Too many open files due to generator not closing connection. #32
Comments
sciuridae0603
changed the title
Too many open files due to generator not closing
Too many open files due to generator not closing connection.
Aug 18, 2021
Hi @sciuridae0603! It's already months since this issue, is there any problem after you fix this with your workaround? I face the same error. |
@faruqsandi I think my workaround won't cause any problem, except it will send a ping every 0.4 secs, which may cost more internet bandwidth. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I find a problem when the client opens a stream and the server doesn't push anything, it will cause connection to stuck and won't close, then too many open files error happened.
So I edit some code to send some dummy messages (like ping) to prevent that happen.
And here's my workaround :
The text was updated successfully, but these errors were encountered: