[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-10-19 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17216736#comment-17216736
 ] 

ASF subversion and git services commented on ARTEMIS-2768:
--

Commit 583bd3602a62af0b80676c7677d81affc80fe6ef in activemq-artemis's branch 
refs/heads/master from gtully
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=583bd36 ]

ARTEMIS-2888 ARTEMIS-2859 ARTEMIS-2768 - revert new page-store-name 
addressSetting, when the page store respects the target address and the size is 
tallied on the target address store, it is no longer neecessary


> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0, 2.14.0
>Reporter: Tarek Hammoud
>Assignee: Gary Tully
>Priority: Major
> Fix For: 2.16.0
>
> Attachments: TestWildCard.java
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-10-15 Thread Gary Tully (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17214530#comment-17214530
 ] 

Gary Tully commented on ARTEMIS-2768:
-

with ARTEMIS-2859, the size is now always associated with the target address, 
which resolved the issue with negative size counts.

It makes me wonder if there is benefit in coalescing addresses into a single 
page store in the wildcard case. 

The page store does not track references, it always takes a copy of messages, 
so there is no space saving to be had and I think there will be churn b/c the 
consumption of messages won't be linear.

The use-case for page-store-name may be no more unless there is some other 
benefit from sharing a page store.

> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0, 2.14.0
>Reporter: Tarek Hammoud
>Assignee: Gary Tully
>Priority: Major
> Fix For: 2.16.0
>
> Attachments: TestWildCard.java
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-09-28 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17203280#comment-17203280
 ] 

ASF subversion and git services commented on ARTEMIS-2768:
--

Commit 7a472d27827897acd4c18ce6f471813dab5bc7e6 in activemq-artemis's branch 
refs/heads/master from gtully
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=7a472d2 ]

ARTEMIS-2768 - fix up conditional to include null pageStoreName option, it was 
a little over eager


> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0, 2.14.0
>Reporter: Tarek Hammoud
>Assignee: Gary Tully
>Priority: Major
> Fix For: 2.16.0
>
> Attachments: TestWildCard.java
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,232.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-09-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17201701#comment-17201701
 ] 

ASF subversion and git services commented on ARTEMIS-2768:
--

Commit 77d1c8cd7f27c846cb0a2ce0efbf97bc12233831 in activemq-artemis's branch 
refs/heads/master from gtully
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=77d1c8c ]

ARTEMIS-2768 - add warning if wildcard subscription does not have a matching 
page-store-name address setting


> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0, 2.14.0
>Reporter: Tarek Hammoud
>Assignee: Gary Tully
>Priority: Major
> Fix For: 2.16.0
>
> Attachments: TestWildCard.java
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,232.^
> ^2020-05-17 09:24:34,834 WARN 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-09-24 Thread Gary Tully (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17201644#comment-17201644
 ] 

Gary Tully commented on ARTEMIS-2768:
-

I added a warning via: [https://github.com/apache/activemq-artemis/pull/3277] 
but it is a little heavy weight, the check that is. not sure if it can be any 
better.

> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0, 2.14.0
>Reporter: Tarek Hammoud
>Assignee: Gary Tully
>Priority: Major
> Fix For: 2.16.0
>
> Attachments: TestWildCard.java
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,232.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,168.^
> ^2020-05-17 09:24:34,834 WARN 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-09-24 Thread Gary Tully (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17201477#comment-17201477
 ] 

Gary Tully commented on ARTEMIS-2768:
-

That is fair comment, the difficulty is that it is hard to determine what the 
value to match should be, what the root of the wildcard hierarchy is.
it is only when you know in advance what possible wildcard addresses will be 
used for subscribers that you can know the root.

I guess we could add a warning (log a warning message) if a page store is named 
after a wildcard address. That would be indicative of a potential problem.


> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0, 2.14.0
>Reporter: Tarek Hammoud
>Assignee: Gary Tully
>Priority: Major
> Fix For: 2.16.0
>
> Attachments: TestWildCard.java
>
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,232.^
> ^2020-05-17 09:24:34,834 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-09-24 Thread Tarek Hammoud (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17201468#comment-17201468
 ] 

Tarek Hammoud commented on ARTEMIS-2768:


Hi Gary,

Thank you so much for taking a look and fixing this. Given that this happens on 
any wild card addresses, should the setting be implicit whenever a global 
address is detected? Again, Thank you.

> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0, 2.14.0
>Reporter: Tarek Hammoud
>Assignee: Gary Tully
>Priority: Major
> Fix For: 2.16.0
>
> Attachments: TestWildCard.java
>
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,232.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,168.^
> ^2020-05-17 09:24:34,834 WARN 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-09-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17201395#comment-17201395
 ] 

ASF subversion and git services commented on ARTEMIS-2768:
--

Commit 622acf1da1b6da3cc170cd4f5d8933f2fdce1467 in activemq-artemis's branch 
refs/heads/master from Gary Tully
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=622acf1 ]

Merge pull request #3265 from gtully/ARTEMIS-2888

ARTEMIS-2888 ARTEMIS-2859 ARTEMIS-2768 - new page-store-name addressSetting to 
allow wildcard subscriptions share a single page store

> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0, 2.14.0
>Reporter: Tarek Hammoud
>Assignee: Gary Tully
>Priority: Major
> Attachments: TestWildCard.java
>
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,232.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-09-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17201391#comment-17201391
 ] 

ASF subversion and git services commented on ARTEMIS-2768:
--

Commit fa04881c6f6e44e4de8b2b70a0be181185d1e1ca in activemq-artemis's branch 
refs/heads/master from gtully
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=fa04881 ]

ARTEMIS-2888 ARTEMIS-2859 ARTEMIS-2768 - new page-store-name addressSetting to 
allow wildcard subscriptions share a single page store


> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0, 2.14.0
>Reporter: Tarek Hammoud
>Assignee: Gary Tully
>Priority: Major
> Attachments: TestWildCard.java
>
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,232.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-09-21 Thread Gary Tully (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17199473#comment-17199473
 ] 

Gary Tully commented on ARTEMIS-2768:
-

yes, the issue is the message going to two page stores, the first store that is 
routed to, gets to persist and increment the size on ref count = 1, the second 
just adds the ref. However if the messages are ack'ed in reverse order to 
routing, the count is decremented and the page store that sees it == 0 is 
different from the one that saw it == 1. The full message size is decremented 
from the ref size, and the ref size is decremented from the full message size 
and they store sizes quickly diverge.

> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0, 2.14.0
>Reporter: Tarek Hammoud
>Priority: Major
> Attachments: TestWildCard.java
>
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,232.^
> ^2020-05-17 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-06-03 Thread Tarek Hammoud (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17125063#comment-17125063
 ] 

Tarek Hammoud commented on ARTEMIS-2768:


I think that the "shared" Message reference count in the same message destined 
to two different queues is causing this size mismatch. MessageId=35 never added 
the full message size as that was done by the wild card. Yet the down logic has 
a zero check that takes the down the size and the reference size. It looks like 
these address sizes do not work for when you have a wild card & a regular full 
topic. 

> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0
>Reporter: Tarek Hammoud
>Priority: Major
> Attachments: TestWildCard.java
>
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,232.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-06-03 Thread Tarek Hammoud (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17125052#comment-17125052
 ] 

Tarek Hammoud commented on ARTEMIS-2768:


Added some debug to PagingStoreImpl:

>From PagineStoreImpl.java

The Ups:

Thread-1 MessageId=35. RefUp:global.#. Count=1
Thread-1 . addSize:global.#. Size=856. New Size=856
Thread-1 MessageId=35. RefUp:global.topic.FooBar. Count=2
Thread-1 . addSize:global.topic.FooBar. Size=64. New Size=64

Thread-1 MessageId=36. RefUp:global.#. Count=1
Thread-1 . addSize:global.#. Size=856. New Size=1712
Thread-1 MessageId=36. RefUp:global.topic.FooBar. Count=2
Thread-1 . addSize:global.topic.FooBar. Size=64. New Size=128

Thread-1 MessageId=37. RefUp:global.#. Count=1
Thread-1 . addSize:global.#. Size=856. New Size=2568
Thread-1 MessageId=37. RefUp:global.topic.FooBar. Count=2
Thread-1 . addSize:global.topic.FooBar. Size=64. New Size=192

Thread-1 MessageId=38. RefUp:global.#. Count=1
Thread-1 . addSize:global.#. Size=856. New Size=3424
Thread-1 MessageId=38. RefUp:global.topic.FooBar. Count=2
Thread-1 . addSize:global.topic.FooBar. Size=64. New Size=256

Thread-1 MessageId=39. RefUp:global.#. Count=1
Thread-1 . addSize:global.#. Size=856. New Size=4280
Thread-1 MessageId=39. RefUp:global.topic.FooBar. Count=2
Thread-1 . addSize:global.topic.FooBar. Size=64. New Size=320

Thread-1 MessageId=40. RefUp:global.#. Count=1
Thread-1 . addSize:global.#. Size=856. New Size=5136
Thread-1 MessageId=40. RefUp:global.topic.FooBar. Count=2
Thread-1 . addSize:global.topic.FooBar. Size=64. New Size=384

Thread-1 MessageId=41. RefUp:global.#. Count=1
Thread-1 . addSize:global.#. Size=856. New Size=5992
Thread-1 MessageId=41. RefUp:global.topic.FooBar. Count=2
Thread-1 . addSize:global.topic.FooBar. Size=64. New Size=448

Thread-1 MessageId=42. RefUp:global.#. Count=1
Thread-1 . addSize:global.#. Size=856. New Size=6848
Thread-1 MessageId=42. RefUp:global.topic.FooBar. Count=2
Thread-1 . addSize:global.topic.FooBar. Size=64. New Size=512

Thread-1 MessageId=45. RefUp:global.#. Count=1
Thread-1 . addSize:global.#. Size=856. New Size=7704
Thread-1 MessageId=45. RefUp:global.topic.FooBar. Count=2
Thread-1 . addSize:global.topic.FooBar. Size=64. New Size=576

Thread-1 MessageId=46. RefUp:global.#. Count=1
Thread-1 . addSize:global.#. Size=856. New Size=8560
Thread-1 MessageId=46. RefUp:global.topic.FooBar. Count=2
Thread-1 . addSize:global.topic.FooBar. Size=64. New Size=640

The Downs:
==
Thread-0 MessageId=35. RefDown:global.#. Count=1
Thread-0 . addSize:global.#. Size=-64. New Size=8496

Thread-0 MessageId=36. RefDown:global.#. Count=1
Thread-0 . addSize:global.#. Size=-64. New Size=8432

Thread-0 MessageId=37. RefDown:global.#. Count=1
Thread-0 . addSize:global.#. Size=-64. New Size=8368

Thread-0 MessageId=38. RefDown:global.#. Count=1
Thread-0 . addSize:global.#. Size=-64. New Size=8304

Thread-0 MessageId=39. RefDown:global.#. Count=1
Thread-0 . addSize:global.#. Size=-64. New Size=8240

Thread-2 MessageId=35. RefDown:global.topic.FooBar. Count=0
Thread-2 . addSize:global.topic.FooBar. Size=-856. New Size=-216

*2020-06-03 09:08:20,772 Thread-2 WARN 
[org.apache.activemq.artemis.core.server] AMQ14: Destination 
global.topic.FooBar has an inconsistent and negative address size=-216.*

> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0
>Reporter: Tarek Hammoud
>Priority: Major
> Attachments: TestWildCard.java
>
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> 

[jira] [Commented] (ARTEMIS-2768) Negative AddressSize in JMX

2020-05-26 Thread Tarek Hammoud (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17116710#comment-17116710
 ] 

Tarek Hammoud commented on ARTEMIS-2768:


Hi,

I could replicate without using the wild card. Just two consumers on the same 
topic. It works fine with one consumer. Also, I suspect that it is threading 
related as I had to increase the number of sent messages to 1000 to 
consistently make it fail. Will keep looking.

> Negative AddressSize in JMX
> ---
>
> Key: ARTEMIS-2768
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2768
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.11.0, 2.12.0
>Reporter: Tarek Hammoud
>Priority: Major
> Attachments: TestWildCard.java
>
>
> Hello,
> I see negative address size in JMX. This happens when there are two 
> consumers. One listening on the full topic name. The other listening on the 
> wild card topic. I can easily reproduce with this. [^TestWildCard.java]
> ^Broker shows:^
> ^2020-05-17 09:24:34,826 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-152.^
> ^2020-05-17 09:24:34,827 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-88.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-944.^
> ^2020-05-17 09:24:34,828 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,800.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-1,736.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-2,592.^
> ^2020-05-17 09:24:34,829 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-3,448.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-4,304.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,160.^
> ^2020-05-17 09:24:34,830 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,096.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-5,952.^
> ^2020-05-17 09:24:34,831 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,080.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,016.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-6,872.^
> ^2020-05-17 09:24:34,832 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-7,728.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,584.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-8,520.^
> ^2020-05-17 09:24:34,833 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-9,376.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,232.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server] 
> AMQ14: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,168.^
> ^2020-05-17 09:24:34,834 WARN [org.apache.activemq.artemis.core.server]