Re: ZGC garbage collector with Java 17 or 18 for Artemis?

2022-10-04 Thread Boer, W. de - CJIB/IT
Hi Justin, Thanks for the links. Maybe I'm a bit confused, I found it here: * activemq-artemis/artemis.cmd at main * apache/activemq-artemis * GitHub *

Re: Apache Artemis 2.25 message counters differ from actual number of messages

2022-10-04 Thread Justin Bertram
> When I run 3 parallel producers which connect to specific primary nodes and I send (i.e.) 1000 messages to each node the message counters seem to show the wrong results, i.e. 1399, 1000, 1000 for a total number of 3399 messages. I would expect to get a 1000, 1000, 1000 distribution for a total

Re: Apache Artemis 2.25 message counters differ from actual number of messages

2022-10-04 Thread Clebert Suconic
When I developed page counters. I did out of users demanding. I did not want to have it. And just rely on number of pages. I’m having issues with the page counters out of replication. I was not able to identify any issues without the use of replication. So are you using replication as well.

Re: Processing only one message

2022-10-04 Thread Stephen Baker
I traced this code quite recently because we needed to switch to using it for one of our clients and also would have preferred specifying it on the consumer. ClientSession in the core API exposes the windowSize as a parameter for creating consumers, but the JMS shim ActiveMQSession does not.

Re: Apache Artemis 2.25 message counters differ from actual number of messages

2022-10-04 Thread Jelmer Marinus
I think so but I'll check just to be sure. Could that also be the cause of messages getting lost in redistribution ? From: Clebert Suconic Sent: Tuesday, October 4, 2022 4:42 PM To: users@activemq.apache.org Subject: Re: Apache Artemis 2.25 message counters

Re: Apache Artemis 2.25 message counters differ from actual number of messages

2022-10-04 Thread Clebert Suconic
do you have your destinations paging? I have a page-counter issue I'm currently working on. On Tue, Oct 4, 2022 at 10:32 AM Jelmer Marinus wrote: > > Hi, > > I have a 3 node Apache Artemis 2.25 symmetrical cluster setup. Each cluster > node has a primary and a backup node. Replication is used

Apache Artemis 2.25 message counters differ from actual number of messages

2022-10-04 Thread Jelmer Marinus
Hi, I have a 3 node Apache Artemis 2.25 symmetrical cluster setup. Each cluster node has a primary and a backup node. Replication is used to keep the primary and backup in sync. Each node runs in a Docker container and uses Java 18 and the ZGC garbage collector. When I run 3 parallel

Re: ZGC garbage collector with Java 17 or 18 for Artemis?

2022-10-04 Thread Justin Bertram
> I notice Apache Artemis still uses ParallelGC by default. Where did you notice this? The JVM is configured to use G1GC on both Linux [1] and Windows [2]. We used to use ParallelGC, but that was changed via ARTEMIS-1047 [3] which was released in February 2021. > Did anyone try Java 17 or 18

ZGC garbage collector with Java 17 or 18 for Artemis?

2022-10-04 Thread Boer, W. de - CJIB/IT
Hi, I notice Apache Artemis still uses ParallelGC by default. Did anyone try Java 17 or 18 with ZGC already? We're using a symmetric cluster setup. Our nodes have 4 CPU's and 24GB memory. With ParallelGC we're experiencing long stop the world pauses every few weeks, resulting in an instable