RabbitMQ queues pile up with messages over a period of time even though there are listeners associated with those queues -


i have situation in rabbitmq setup. scenario below,

setup:

  1. there 2 virtual machines involved.
  2. both vms sending 25mb size messages every 7 seconds in loop.
  3. there shovels setup transmitting messages between machines.
  4. both machines have listeners consume messages sent other machine.
  5. listeners consume messages , comes out. there no processing involved @ listener side.
  6. there rabbitmq broker ssl enabled.
  7. i using spring rabbitmq.
  8. i using simplemessagelistenercontainer listening.

my issues:

  1. over period of time, after 1.5 days of continuous message exchange, there accumulation of messages in queues.

  2. the listeners consumption rate diminishes on period of time , messages pile in queue.

  3. some of messages accumulated in queue in unacked state.

things want try:

  1. increase no. of listeners queue.
  2. increase prefetch count listener.

my question

  1. why messages got accumulated on period of time.
  2. was there network disturbance in between. need add parameters listeners tackle network disturbances.

please guide me here. need in fine tuning setup make more robust.

it difficult here debug application.

consumption rate diminishes on period of time

that symptom of application rather messaging system or framework. start there.

was there network disturbance in between.

with recent versions of rabbitmq, heartbeats enabled default such "disturbances" should detected ok.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -