[ 
https://issues.apache.org/jira/browse/ARTEMIS-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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] AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: 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] 
> AMQ222214: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,104.^
> ^2020-05-17 09:24:34,835 WARN [org.apache.activemq.artemis.core.server] 
> AMQ222214: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,960.^
> ^2020-05-17 09:24:34,835 WARN [org.apache.activemq.artemis.core.server] 
> AMQ222214: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,896.^
> ^2020-05-17 09:24:34,836 WARN [org.apache.activemq.artemis.core.server] 
> AMQ222214: Destination global.topic.FooBar has an inconsistent and negative 
> address size=-10,960.^
> ^2020-05-17 09:24:34,837^



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to