[rabbitmq-discuss] A different Processing error in logs

Toby Corkindale toby.corkindale at strategicdata.com.au
Wed Dec 7 01:32:06 GMT 2011

On 07/12/11 11:55, Toby Corkindale wrote:
> Sorry about posting more of these; as I've said before, these errors are
> quite opaque to me, and I wish I could interpret them unaided.
> How do other developers here deal with them? (Or am I just unlucky in
> seeming to hit them often)
> This message occurs during message *reception* this time, and only seems
> to occur when there are several pending messages.
> It's worth noting that the messages arrive after I've recently
> unsubscribed from a queue - but that was not the queue mentioned in the
> error message.

This feels like a RabbitMQ or STOMP bug to me, but here's some more info 
on what causes it to occur so you can decide.

1) Create two queues, with ack=client, subscribe to both, using STOMP.
2) Dump a bunch of messages into first queue.
3) Upon receiving one message, unsubscribe from the first queue only, 
and then ack the message.
4) Note that you still get delivered some more messages from that first 
5) Attempt to send a client ACK back for one of these messages, which 
seems to work fine.
6) Now attempt to send another message through on the second 
(still-subscribed) queue -- rabbitmq generates the Processing Error.

In my case, I can avoid the error occurring by not sending a client ACK 
back for messages received on a queue which I am no longer subscribed to.


> =ERROR REPORT==== 7-Dec-2011::00:51:03 ===
> STOMP error frame sent:
> Message: "Processing error"
> Detail: "Processing error\n"
> Server private detail: {badarg,
> [{dict,fetch,
> [<<"T_commander">>,
> {dict,1,16,16,8,80,48,
> {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
> {{[],[],[],[],[],[],[],[],[],[],
> [[<<"T_primary-queue">>|
> {subscription,
> "/topic/websurvey.commander.18680",
> <0.28312.182>,true,"id='primary-queue'"}]],
> [],[],[],[],[]}}}]},
> {rabbit_stomp_processor,ack_action,4},
> {rabbit_stomp_processor,process_request,3},
> {gen_server2,handle_msg,2},
> {proc_lib,init_p_do_apply,3}]}
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list