Re: Total consumer count negative

2015-06-18 Thread Tim Bain
Can you submit a bug in JIRA for this? If nothing else, it may prompt a developer who's got some time to go through all the places that counter is updated and see if there are any code paths that could result in this behavior. Make sure you describe whatever might have happened between the last t

Re: Total consumer count negative

2015-06-18 Thread Christopher Shannon
I've been doing a lot of work with the metrics and monitoring of the broker recently so if this happens again in the future and you are able to find a way to reproduce it I'd be happy to take a look at it. -Chris On Thu, Jun 18, 2015 at 5:12 AM, ALi wrote: > no it has happen only once ...

Re: Total consumer count negative

2015-06-18 Thread ALi
no it has happen only once ... and after working a year without any problem. so it is a bit difficult to reproduce. we will continue monitoring the metric but without an alert. thank you tim On Tue, Jun 9, 2015 at 2:34 PM, Tim Bain wrote: > Does this happens reliably and quickly for you?

Re: Total consumer count negative

2015-06-09 Thread Tim Bain
Does this happens reliably and quickly for you? Can you force it to happen by taking a certain series of actions? On Jun 8, 2015 11:45 PM, "ALi" wrote: > It is 5.8.0. As it was working ok we didn't want to update it. The new > version 5.10 had problems with stomp and websocket. We need to test t

Re: Total consumer count negative

2015-06-08 Thread ALi
It is 5.8.0. As it was working ok we didn't want to update it. The new version 5.10 had problems with stomp and websocket. We need to test this new version to see if it works and if it doesn't have any problems with it. And we don't know if it worths the update. But as we are having this incident w

Re: Total consumer count negative

2015-06-08 Thread Christopher Shannon
The count shouldn't be negative so this might be a bug. The broker keeps track of the consumer count using a counter and the counter should be incremented on a new subscription and decremented when a subscription is removed. So if there are no consumers the count should be 0, not negative. What

Total consumer count negative

2015-06-08 Thread ALi
When can the total consumer count be negative? We are using this metric to know how many people is connected. We are getting this metric from the jmx perhaps a problem with the query in check jmx eval?