You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by PG <gv...@gmail.com> on 2019/04/01 14:15:47 UTC
Re: Consumers hanging on a queue although there are messages in it
Hello There,
We are facing identical issue with ActiveMQ 5.15.5 in our pre-prod
environment, where the client program stops reading messages from queue and
we observed this happens when the broker restarts.
Untill we failover the broker to another node, client does not start
consuming messages again from the queue.
Are there any other findings or suggestions that can be implemented or
looked into for this hanging state? Any help is appreciated.
Also , we are using the statistics plugin to keep track of the connections.
Is there a possibility that this is causing the hung state.
Thank you
GV
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Re: Consumers hanging on a queue although there are messages in it
Posted by alan protasio <al...@gmail.com>.
I dont know if this is exactly what is happening with you but the code
below shows that if the broker memory is full, the broker will be unable to
page in messages (and dispatch them).
https://www.paste.org/98451
If this is your case this issue somewhat mitigated by
https://issues.apache.org/jira/browse/AMQ-7126
Alan Protasio
On Thu, May 2, 2019 at 11:31 AM alan protasio <al...@gmail.com> wrote:
> Hi...
>
> Did you guys see some log lines like the following?
>
> WARN Queue - queue://STORE, subscriptions=1,
> memory=0%, size=200, pending=0 cursor blocked, no space available to page
> in messages; usage: Usage(Main:memory:queue://STORE:memory)
> percentUsage=0%, usage=0, limit=1048576,
> percentUsageMinDelta=1%;Parent:Usage(Main:memory) percentUsage=1962%,
> usage=20581376, limit=1048576, percentUsageMinDelta=1%
>
> Att..
> Alan Diego
>
>
> On Mon, Apr 29, 2019 at 11:05 AM miksonx <mi...@gmail.com> wrote:
>
>> Hi
>> We are facing same issue as listed above where messages are Enqueued but
>> broker is stuck Dequeued messages.
>> Is there any update on this ?
>>
>> Thank you.
>>
>>
>>
>> --
>> Sent from:
>> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>>
>
Re: Consumers hanging on a queue although there are messages in it
Posted by alan protasio <al...@gmail.com>.
Hi...
Did you guys see some log lines like the following?
WARN Queue - queue://STORE, subscriptions=1,
memory=0%, size=200, pending=0 cursor blocked, no space available to page
in messages; usage: Usage(Main:memory:queue://STORE:memory)
percentUsage=0%, usage=0, limit=1048576,
percentUsageMinDelta=1%;Parent:Usage(Main:memory) percentUsage=1962%,
usage=20581376, limit=1048576, percentUsageMinDelta=1%
Att..
Alan Diego
On Mon, Apr 29, 2019 at 11:05 AM miksonx <mi...@gmail.com> wrote:
> Hi
> We are facing same issue as listed above where messages are Enqueued but
> broker is stuck Dequeued messages.
> Is there any update on this ?
>
> Thank you.
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>
Re: Consumers hanging on a queue although there are messages in it
Posted by miksonx <mi...@gmail.com>.
Hi
We are facing same issue as listed above where messages are Enqueued but
broker is stuck Dequeued messages.
Is there any update on this ?
Thank you.
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html