On Tue, Mar 9, 2010 at 11:27 AM, Jamie McCrindle <jamiemccrin...@gmail.com> wrote: > Hi, > > It appears we may be getting by this > https://issues.apache.org/activemq/browse/AMQ-2009 or some variant of > it i.e. messages are getting stuck in a queue. We are busy looking at > our config and gradually making changes to try and resolve it but we > can't replicate in dev so it's slow going. We're using ActiveMQ 5.2.0 > in a network of brokers. > > Once a number of messages are stuck on a queue, we're using a couple > of workarounds to get them resuscitated: > > Bounce the brokers. This usually gets reinvigorates about 50% of them. > The rest become immune. > Copy the messages off the queue using a query browser, purge the > original queue and resubmit the messages. This works but there's a > real danger of losing a message that arrived in the interim. > Keep doing the above until none of the messages are stuck. > > It would be great if there was a way, from the WebConsole, to shake > the messages awake, btw. > > Anyone else faced with a similar problem? How have you solved it? Our > latest configuration change attempt is to reduce the prefetch down to > 1 for all of our consumers.
When I have seen this behavior I have recommended an upgrade to ActiveMQ 5.3. There were some fixes in 5.2 and 5.3 for this problem, but I have not seen it rear it's head where ActiveMQ 5.3 is being used. Bruce -- perl -e 'print unpack("u30","D0G)u8...@4vyy9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' ActiveMQ in Action: http://bit.ly/2je6cQ Blog: http://bruceblog.org/ Twitter: http://twitter.com/brucesnyder