Thanks <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(121, 6, 25); font-weight: bold; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-weight: normal; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; ">Matthew </span></span><div>
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(121, 6, 25); font-weight: bold; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-weight: normal; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><br>
</span></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(121, 6, 25); font-weight: bold; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-weight: normal; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "> as u say when the message has consumed the messages on disk will be del,but i'm not sure that the message will be consumer in time,so i need to keep have enough free disk ,i mount other <span class="Apple-style-span" style="border-collapse: separate; font-family: Lucida, Helvetica, Arial, sans-serif; font-size: 12px; color: rgb(0, 0, 85); ">partition</span> to the rabbitmq folder ,it's success,but the rabbitmq-server can not start, is there anythings i should do? </span> </span><br>
<br><div class="gmail_quote">2011/1/13 Matthew Sackman <span dir="ltr"><<a href="mailto:matthew@rabbitmq.com">matthew@rabbitmq.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Kevin,<br>
<div class="im"><br>
On Thu, Jan 13, 2011 at 03:17:48PM +0800, Kevin Chan wrote:<br>
> I send msg to rabbbitmq server ,on the server,the folder(<br>
> /var/lib/rabbitmq/mnesia/rabbit@localhost/msg_store_transient) size will<br>
> became bigger and bigger.how to deal with<br>
> it. may i del this folder's file when rabbitmq server running,or is there<br>
> any way to limmit the folder growing?<br>
<br>
</div>The way to limit the folder growing is to consume and acknowledge<br>
messages from the broker. Rabbit will only write messages to disk which<br>
have not been consumed and when necessary - either the messages are<br>
being published persistent (delivery_mode = 2) or the broker is under<br>
memory pressure and is thus writing to disk to free up memory.<br>
<br>
If you stop the queues from growing (either by not publishing messages,<br>
or by consuming and acknowledging messages from the queues) then Rabbit<br>
will have no reason to write messages to disk.<br>
<br>
Matthew<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Kevin Chan<div><br></div><div>XiaMen China</div><div><br></div><div><br></div><div><font face="arial, sans-serif" size="6"><span style="font-size:24px"><br></span></font></div>
<br>
</div>