On Thu, Jan 13, 2011 at 03:17:48PM +0800, Kevin Chan wrote:
> I send msg to rabbbitmq server ,on the server,the folder(
> /var/lib/rabbitmq/mnesia/rabbit@localhost/msg_store_transient) size will
> became bigger and bigger.how to deal with
> it. may i del this folder's file when rabbitmq server running,or is there
> any way to limmit the folder growing?
The way to limit the folder growing is to consume and acknowledge
messages from the broker. Rabbit will only write messages to disk which
have not been consumed and when necessary - either the messages are
being published persistent (delivery_mode = 2) or the broker is under
memory pressure and is thus writing to disk to free up memory.
If you stop the queues from growing (either by not publishing messages,
or by consuming and acknowledging messages from the queues) then Rabbit
will have no reason to write messages to disk.
Matthew
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq...@lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Ok, you could investigate the queue message ttl feature. See:
http://www.rabbitmq.com/extensions.html#queue-ttl
> ,so i need to
> keep have enough free disk ,i mount other partition to the rabbitmq folder
> ,it's success,but the rabbitmq-server can not start, is there anythings i
> should do?
Check the permissions on the mount and the folders.