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

hub shutting down subscriber source #214

Open
cppfuns opened this issue Feb 10, 2021 · 2 comments
Open

hub shutting down subscriber source #214

cppfuns opened this issue Feb 10, 2021 · 2 comments

Comments

@cppfuns
Copy link

cppfuns commented Feb 10, 2021

hub shutting down subscriber source, it is over desired chan size and grace period over (hub/hub.go:174){"current_length": 100, "target_max_channel_size": 100, "chan_capacity": 400}

Excuse me, is this error normal? How to fix

@sduchesneau
Copy link
Contributor

It's usually when a subscriber (incoming connection) does not read data fast enough, so instead of accumulating tons and tons of data in a buffer and going to OOMkill, it closes the subscriber that is not reading fast enough.
There is no general fix, it warns that it is closing a connection. Maybe that connection was already gone but not closed, etc.
Is it causing issues ?

@cppfuns
Copy link
Author

cppfuns commented Feb 15, 2021

It seems that no special data problem has been found at present, but this log will occasionally appear on the terminal

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