-
Notifications
You must be signed in to change notification settings - Fork 620
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
RabbitMQ has open connections(Too many File descriptors piling up on broker) for publish #527
Comments
Hi, you can use this library https://github.com/houseofcat/turbocookedrabbit, I had the same problem as yours. There you can create a "pool" of connections, so in your case, also mine, if there are no connections to handle your request, this library will create a new one and will close it if will never used again. You can declare the max number of connections and channels to start in the pool. I had an endpoint that ,in some cases, receives like 1k of requests per second, with vanilla library I got the same error, and is because the connection get saturated. With the library turbocookedrabbit I had no more problems. ps: Internally uses this library to handle the basic logic. |
Hi, We're using amqp library to publish messages to a Queue, We've encountered 2 issues here
504 connection/channel closed
is returned.Would appreciate any help/pointers
The text was updated successfully, but these errors were encountered: