Geoffrey Pamart created AMQ-8125:
------------------------------------
Summary: Memory issue with offline durable subscribers
Key: AMQ-8125
URL: https://issues.apache.org/jira/browse/AMQ-8125
Project: ActiveMQ
Issue Type: Bug
Affects Versions: 5.16.0
Reporter: Geoffrey Pamart
Attachments: image-2021-01-19-11-30-04-660.png,
image-2021-01-19-11-30-19-525.png, image-2021-01-19-11-32-33-194.png,
image-2021-01-19-11-34-41-261.png, image-2021-01-19-11-35-06-758.png,
image-2021-01-19-11-36-12-926.png
Hi,
We are experiencing a memory problem with our activeMq, 5.16.0 and durable
subscribers.
What I notice is that when a consumer subscribe to a Topic and go offline, the
memory used by the messages of the virtual topic don't stop to increase. Which
is not a problem, cause this is the way it should go, as when the subscribers
come online, It can consume back its messages.
But, once these consumers got gropped by ActiveMq (with this conf :
_offlineDurableSubscriberTimeout="3600000"
offlineDurableSubscriberTaskSchedule="1200000"),_ I am expected this memory to
be released. But It is not the case ! Messages still use memory.
I ran a test.
At the beggining, 12 producers. 3 consumers not durabe.
!image-2021-01-19-11-32-33-194.png!
I make one consumer to subcribe on a durable way to a virtual topic. And I make
It offline. And let AMQ do the job.
So, as expected, the memoryUsageByteCount increase
After one hour
!image-2021-01-19-11-34-41-261.png!
!image-2021-01-19-11-35-06-758.png!
After one hour, Activemq dropp these offline durable consumers. BUT, the
memoryUsageByteCount do not decrease. I was expecting the memory to be
released, as it is explained here :
https://activemq.apache.org/manage-durable-subscribers
!image-2021-01-19-11-36-12-926.png!
For information the TTL of the messages is 15 min. And there was no peak of
notifications sent to the VirtualTopic during the test.
As anyone experienced a similar problem ? Do you have any recommandation
(except reboot ActiveMq every night).
Regards
--
This message was sent by Atlassian Jira
(v8.3.4#803005)