actually, I not’ think this could be the issue. The if I was getting redeliveries, and NO work was being done, I’d see messages in the dead letter queue - which I don’t see.
On Thu, Apr 16, 2015 at 9:55 AM, Kevin Burton <[email protected]> wrote: > Ah.. That’s an interesting hypothesis. So in this situation the client > would just never even see the message and would just keep being rejected. > Is there any way to test this hypothesis.? Any stats? > > I’ll look at JMX but I didn’t see any that might stand out. > > On Thu, Apr 16, 2015 at 5:51 AM, Tim Bain <[email protected]> wrote: > >> Is there any chance the messages are old enough that they're expired by >> the >> time the client gets to them? Maybe the broker is running slowly enough >> that it doesn't try to dispatch each message until after it's expired, >> resulting in no messages getting *consumed* rather than no messages >> getting >> dispatched... >> On Apr 15, 2015 9:32 PM, "Kevin Burton" <[email protected]> wrote: >> >> > And then if I immediately purge the queue, and add more messages to the >> > queues, they immediately work. So it seems to be some bug related to >> > dispatch of the queue if it’s too large. >> > >> > On Wed, Apr 15, 2015 at 8:11 PM, Kevin Burton <[email protected]> >> wrote: >> > >> > > It looks like this is a function of queue size.. if it grows large >> > enough, >> > > eventually, it seems, ActiveMQ stops dispatching messages to the >> > consumers. >> > > >> > > On Wed, Apr 15, 2015 at 6:55 PM, Kevin Burton <[email protected]> >> > wrote: >> > > >> > >> I have a very strange bug I’m trying to track down. >> > >> >> > >> I have a very loaded ActiveMQ box (8 of them actually)… for the most >> > part >> > >> it’s working very well. >> > >> >> > >> However, I recently noticed that some of our queues aren’t actually >> > doing >> > >> any work. Other queues are performing just fine. In fact, the vast >> > >> majority of them are performing fine. >> > >> >> > >> It’s just a few of them each with the same name. >> > >> >> > >> I’ve tried restarting both of my apps that consume my message, only >> to >> > >> find the exact same behavior. >> > >> >> > >> The code is basically just not reading new messages sent to these >> given >> > >> queues. >> > >> >> > >> I can’t restart the broker because we’re using the memory store for >> > >> performance reasons. >> > >> >> > >> I can browse them manually … the messages are there. JMX reports >> > >> thousands of messages waiting to be executed. >> > >> >> > >> One theory I have is maybe the ActiveMQ connection isn’t properly >> > handing >> > >> messages to all my consumers. The box is rather loaded. I’m also >> > calling >> > >> receiveNoWait.. to read these queues. So perhaps some buffer is >> being >> > >> filled up with other queues or some of my connections aren’t being >> > serviced? >> > >> >> > >> Thoughts? >> > >> >> > >> -- >> > >> >> > >> Founder/CEO Spinn3r.com >> > >> Location: *San Francisco, CA* >> > >> blog: http://burtonator.wordpress.com >> > >> … or check out my Google+ profile >> > >> <https://plus.google.com/102718274791889610666/posts> >> > >> <http://spinn3r.com> >> > >> >> > >> >> > > >> > > >> > > -- >> > > >> > > Founder/CEO Spinn3r.com >> > > Location: *San Francisco, CA* >> > > blog: http://burtonator.wordpress.com >> > > … or check out my Google+ profile >> > > <https://plus.google.com/102718274791889610666/posts> >> > > <http://spinn3r.com> >> > > >> > > >> > >> > >> > -- >> > >> > Founder/CEO Spinn3r.com >> > Location: *San Francisco, CA* >> > blog: http://burtonator.wordpress.com >> > … or check out my Google+ profile >> > <https://plus.google.com/102718274791889610666/posts> >> > <http://spinn3r.com> >> > >> > > > > -- > > Founder/CEO Spinn3r.com > Location: *San Francisco, CA* > blog: http://burtonator.wordpress.com > … or check out my Google+ profile > <https://plus.google.com/102718274791889610666/posts> > <http://spinn3r.com> > > -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile <https://plus.google.com/102718274791889610666/posts> <http://spinn3r.com>
