[rabbitmq-discuss] rabbitmq causing heavy disk i/o with nothing in the queues
Matthias Radestock
matthias at rabbitmq.com
Wed Jul 17 13:12:19 BST 2013
Kevin,
On 16/07/13 20:33, Kevin Goess wrote:
> On Thu, Jul 11, 2013 at 2:08 PM, Matthias Radestock
> <matthias at rabbitmq.com <mailto:matthias at rabbitmq.com>> wrote:
> My suspicious is that somehow your usage pattern results in a lot of
> queue/exchange/binding creation/deletion, which, if the entities
> involved are durable, require disk writes and fsyncs.
>
> To test the validity of that theory, please try to find out what
> files are seeing activity, and report back.
>
> This is all the writing that's gone on in the last ten minutes:
> [...a few .rdq, .idx and journal.jif files...]
Evidently my theory was wrong.
So what else could be causing the high disk activity / iowait with a
message rate of just ~20Hz? Well, rabbit has a number of disk io
optimisations along the lines of "perform an fsync if some data has been
written and a) we are idle, or b) a certain amount of time has passed".
With the low message rate of your rabbit it will operate in mode (a),
which does actually increase disk io activity but provides better
overall performance and reliability than mode (b).
So nothing to worry about.
Matthias.
More information about the rabbitmq-discuss
mailing list