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

Consumers/Executors hanging #103

Open
kaveh-hariri opened this issue May 12, 2017 · 3 comments
Open

Consumers/Executors hanging #103

kaveh-hariri opened this issue May 12, 2017 · 3 comments

Comments

@kaveh-hariri
Copy link

kaveh-hariri commented May 12, 2017

Hi,

I'm using the distributed approach, 1 queue, 10 consumers/containers. After some time, a consumer will "hang" in the sense that the streaming window closes and moves on, but the container from the previous window never finishes. I've noticed that this causes a big drag in performance.

In the picture below there should be 10 consumers/containers, but RabbitMQ shows 12. The prefetch count is at 100, and you see the messages ready and unacked messages at 200. This is the new floor as 2 of the consumers/containers are hung up. If I kill the job completely and restart, then these 2 hung consumers go away. Any idea what may be causing this? I've also pasted my configurations below.

image

image

@nelsou
Copy link
Contributor

nelsou commented May 16, 2017

+1 got it too. I made a quick fix with a Thread that force to close "unused connection".

@compae
Copy link
Member

compae commented Aug 18, 2017

Hi,

@nelsou could you make one PR with the bugfixing?

@yenki
Copy link

yenki commented Sep 7, 2017

+1 I'm having this problem also

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

4 participants