hmm ok Why only I see these stale connections in the topic ActiveMQ.Advisory.TempQueue,ActiveMQ.Advisory.TempTopic ????
rest all topics and queues look good. only this particular Topic has stale connections. On Wed, Apr 7, 2021 at 5:40 PM Tim Bain <tb...@alumni.duke.edu> wrote: > This sounds like a bug, since the closure of the inactive connections > doesn't seem to remove the associated subscriptions nor reduce the JMX > count accordingly. Can you please submit a bug in JIRA for this behavior? > > Are you able to reproduce the problem on demand, ideally on a single broker > with minimal customization? If so, please attach the broker configuration > file and describe what needs to be done with the consumers to reproduce the > issue. > > Thanks, > Tim > > On Sun, Apr 4, 2021, 9:47 PM Prameet Patil <prameetpram...@gmail.com> > wrote: > > > Hey all, > > Currently i am using ActiveMQ 5.15.2 and metrics are exposed using a JMX > > agent > > org_apache_activemq_Broker_CurrentConnectionsCount > > using above metric i can see that number of connections to my broker is > > around 850 > > but when i check the OS level connection by doing *netstat *i can see > only > > 200 connections. > > when digging further i can see that i have too many inactive > > connections in *Active > > Non-Durable Topic Subscribers *(in subscribers tab) and when i click on > the > > clientID i get > > > > No connection could be found for ID ID:client_id-random_number > > > > > > > > And all these inactive clients are subscribed to topic > > ActiveMQ.Advisory.TempQueue,ActiveMQ.Advisory.TempTopic > > > > What can be the reason for this issue ?? > > and how to solve this issue? > > >