[rabbitmq-discuss] RabbitMQ not responding or in hung state
pradeep w
hpk.warrier at gmail.com
Wed Dec 15 08:26:14 GMT 2010
Thanks Marek.
I am using ack. I solved the problem. Actually i was too ambitious with the
performance. Was using threads to queue posting as well. Though not sure
exactly why, but there lot of connections and channels were getting created.
And these i was not able to relate to any relevant consumer processes. Then
i moved these out of thread and did refactoring for passing same connection
object. Now there are no more extra (or i'll say orphan) connections and
channels. Till now i've not faced problem after the code modification.
Will rework the same with threads once the current execution gets over.
On Tue, Dec 14, 2010 at 11:30 PM, Marek Majkowski <majek04 at gmail.com> wrote:
> On Tue, Dec 14, 2010 at 13:24, pradeep w <hpk.warrier at gmail.com> wrote:
> > The situation that i'm running into is like this:
> > After processing some entries[random count], suddenly there is no
> activity
> > in RabbitMQ. If i kill one of the consumer, then some activity happens
> and
> > other queues process for some time.Then again it repeats and i kill some
> > other consumer. Finally killing all the consumers.
> > If i restart all consumers again things work for some time before showing
> > the same inaction behavior.
>
> Sounds like 'basic.ack' and 'basic.qos' issue.
>
> Are you using 'basic.qos'?
> Are you using acks (no_ack=False) and do you always remember to do
> basic_ack?
>
> http://www.rabbitmq.com/tutorial-two-python.html
>
> Cheers,
> Marek
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20101215/a2c38355/attachment.htm>
More information about the rabbitmq-discuss
mailing list