[rabbitmq-discuss] Processing error in stomp plugin

Rajkumar S rajkumars at gmail.com
Wed Nov 18 13:31:19 GMT 2009


On Tue, Nov 17, 2009 at 10:17 PM, Matthew Sackman <matthew at lshift.net> wrote:
> Hi Raj,
>
> I don't really know the Stomp adapter - hopefully if I get anything
> wrong someone else will correct me.
>
> On Tue, Nov 17, 2009 at 08:41:07PM +0530, Rajkumar S wrote:
>> Server private detail: {{badmatch,
>>                          {ok,
>>                           {'channel.flow',false},
>
> I suspect you've run out of memory and so the channel flow feature has
> been activated to stop you publishing anything further. Are there any
> entries in the log suggesting you've hit the memory high watermark, or
> does "rabbitmqctl list_queues names messages messages_unacknowledged"
> show lots of messages?

Thanks Matthew for your kind answer,

I run this command under watch to refresh the output every 2 seconds.

 ./scripts/rabbitmqctl list_queues name messages consumers
messages_ready messages_unacknowledged messages_uncommitted
Listing queues ...
greyruby        0       0       0       0       0
postfix 2       0       0       2       0
amavis  0       0       0       0       0

Usually there are about 4 - 5 messages in queue. But when error
happens the number of messages become zero because all messages are
consumed and no new messages are being added to queues. All consumers
(I am consuming using python/amqplib) are running and live but just
waiting for messages in queue.

rabbitmq currently uses about 125m (Virtual Image), though I do not
have exact number while rabbitmq is showing error, I have not noticed
any thing unusual.

One thing I remembered when you mentioned channel flow feature is that
there are lot's of connections coming to this rabbitmq via stomp. Each
message is an individual tcp connection. I had problems with tcp syn
cookies before because of number of tcp connections and I have
disabled it now. Not sure if this is a factor but thought it would be
useful.

with regards,

raj




More information about the rabbitmq-discuss mailing list