-
Notifications
You must be signed in to change notification settings - Fork 118
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
Conflict when combining seth/pooler
with jbrisbin/amqp_client
#18
Comments
Be aware that this is not the official |
Hi there, I'd love for us to add a feature to pooler to optionally attempt a graceful shutdown function for pool members. I think that would help this case (and others). It might be that within some timeout we want to resort to the |
@seth as I said in mu comment, please discuss this in our RabbitMQ forum linked above |
@videlalvaro is there a thread I can reply to? I just went to look and didn't find any hits searching the list for pooler. |
@seth not that I know of, but you can start your own thread |
Cc: @seth
We recently bumped into an issue when using
seth/pooler
to pool RabbitMQ channels. When the pooler culls stale channels, it kills them viaexit(Pid, kill)
(instead of, say, doing it gracefully viaamqp_channel:close
).Long story short,
amqp_client
interprets the killed channel as aninternal_error
(541), and it then closes the AMQP connection entirely, which affects all of the other channels on that connection.Behavior on both sides (pooler and amqp_client) makes sense when considered separately, but when combined, this is a problem. I mention this less as a bug report, and more as a heads-up -- perhaps something that could help other folks if it were documented?
The text was updated successfully, but these errors were encountered: