[rabbitmq-discuss] rabbitmq and long vm.dirty_writeback_centisecs
tao at taggle.com.au
Thu Jul 4 00:45:35 BST 2013
I have ubuntu boxes which, for disk life consideration, I have set the
vm.dirty_writeback_centisecs from 5sec to 30min. However, when the boxes
have power outage and restored, rabbitmq refused to start up, giving error
message in log: mnesia_recover crashed.
I had to delete schema.DAT under mnesia directory before I can start it
again but then all my stored messages in persistent queues are lost.
If I do disk sync every minute or two, there is no such issue - rabbitmq
can survive every power cycle. I like to understand how rabbitmq works to
survive power cycle and if it is possible to tune it to survive with longer
sync time without losing any stored messages in queue.
Ubuntu 10.04.4 with kernel 2.6.32-24-generic-pae
rabbitmq-server 3.1.1 installed from rabbitmq.com/debian testing main
erlang R13B03 (erts-5.7.4)
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss