[rabbitmq-discuss] publish msg in immediate mode and rabbitmq server's memory is pilling up

陈宇剑 lwice04 at gmail.com
Wed Nov 7 11:56:18 GMT 2012


hi,simon,
i use rabbitmq to publish market quotations to our consumers.
so i need the newest quotations but abandon the old ones.
in my sititution, when  the service publishing msg  set immediate true,and
setting consumer  no_ack to false, and leave the message pre-fetch at 1 ,the
consumer will get the newest market quotation and do something.but when i
configure this ,the rabbitmq itself's memory pilling up until i shutdown
the publisher.

2012/11/7 Simon MacMullen <simon at rabbitmq.com>

> On 07/11/12 10:02, Matthias Radestock wrote:
>
>> On 07/11/12 03:28, 陈宇剑 wrote:
>>
>>> hi ,i got a problem that when i continuously publishing msg while
>>> setting immediate bit true, i found that rabbitmq server's memory is
>>> pilling up. it wouldn't release these memory until my publishing program
>>> finished.
>>> can anybody explain it?
>>>
>>
>> What version of RabbitMQ are you running? If it's any older than 2.8.0
>> then please upgrade.
>>
>
> It's also perhaps worth pointing out to the OP that support for the
> immediate flag will be going away in 3.0.
>
> 陈宇剑, what are you trying to do?
>
> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, VMware
>
> ______________________________**_________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
>



-- 
南京大学 软件学院 陈宇剑
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121107/68b26796/attachment.htm>


More information about the rabbitmq-discuss mailing list