--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/a71e3eb1-ea0a-4eb8-bb94-bd6213ef7844%40googlegroups.com.
Code Sync & Erlang Solutions Conferences
Code BEAM Lite BD - Budapest: 20 September 2019
Code BEAM Lite NYC - NYC: 01 October 2019
Code BEAM Lite - Berlin: 11 October 2019
RabbitMQ Summit - London: 4 November 2019
Code Mesh LDN - London: 7-8 November 2019
Code BEAM Lite India - Bangalore: 14 November 2019
Code BEAM Lite AMS - Amsterdam: 28 November 2019
Lambda Days - Kraków: 13-14 February 2020
Code BEAM SF - San Francisco: 5-6 March 2020
Erlang Solutions cares about your data and privacy; please find all details about the basis for communicating with you and the way we process your data in our Privacy Policy.You can update your email preferences or opt-out from receiving Marketing emails here.
Hi IsaacThat makes sense. When connections and channels going in flow mean they're being limited/blocked by your queues. I assume you're persisting your messages? Your receiving queue will grant more credit,to it's peer channel process(es) after each delivery attempt/enqueueing cycle. So from the perspective of the queue, consumer utilization may be 100% (i.e. no hinderance to queues pushing out messages toyour consumers), but from the forwarding channel's perspective (and ultimately the connection as well), flow state can still be encountered. Regarding "File Handle Open Attempts" being identical to the rateof messages being sent (you mean outbound?), it's the internal queue index publishing/appending Message IDs to the journal. "File Handle Open Attempts" stats will always be raised but they don't imply ordirectly translate to new file opened - this is optimized by the file handle cache i.e. using already open handle or reopening previously closed one(s). So this is not an issue.More detail on your test setup could be useful to get the picture - number of connections/channels, queues and consumers, message sizes you're publishing. As a start, you can increase your default credit settings, credit_flow_default_credit, however with caution as your internal processes on the critical messaging path would be susceptible to forwarding (and receiving) more messages to it's peer beforeflow control is engaged. We need more detail on your test environment.Best regards,AyandaErlang Solutions Ltd.
On Wed, 24 Jul 2019 at 20:32, Isaac Whitfield <i...@whitfin.io> wrote:
--I forgot to mention that although the file open attempts were so high, the write/read operation rate was only around 1 per second. Which is why this looks so strange!Isaac
On Wednesday, July 24, 2019 at 12:18:44 PM UTC-7, Isaac Whitfield wrote:Hi all,I've been benchmarking a system at work, with around 15,000/s messages going into our RabbitMQ. My connections/channels immediately go into flow control, but my consumer utilization is 100% (and no messages are backing up into my queue). CPU on the node holding the queue is reasonably high (60-70% per core).In an attempt to debug the exact reason that flow control becomes active, I've been digging through the stats and server logs. Nothing seems obviously wrong, but I noticed that on the node stats, the "I/O Operations" chart lists that "File Handle Open Attempts" are basically identical to the rate of messages being sent (actually slightly higher). I'm curious whether this is a potential cause of why flow control becomes active, and what I can do to improve this. It's the only thing that struck me as odd in the metrics. If anyone could confirm whether this seems like an issue, I'd appreciate it.If anyone has any other pointers on figuring out the problem with flow control, please also let me know.Thanks!Isaac
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/a71e3eb1-ea0a-4eb8-bb94-bd6213ef7844%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/88a3c991-457e-4dc2-bd85-972faab488e2%40googlegroups.com.