The scripts you linked are for the broker's "home" directory. This is different from the scripts used to start an actual instance of the broker (which I previously linked). The home/instance model is described in the documentation [1]. I just removed UseParallelGC from those scripts [2] to (hopefully) avoid this same confusion in the future.
I think the counter issue you're observing is almost certainly unrelated to your use of ZGC. I think you're safe to use ZGC. Justin [1] https://activemq.apache.org/components/artemis/documentation/latest/using-server.html [2] https://github.com/apache/activemq-artemis/commit/de8e8d7d2cc6175acb50491b2d1e46217b17fb08 On Tue, Oct 4, 2022 at 12:51 PM Boer, W. de - CJIB/IT&BV <w.debo...@cjib.nl.invalid> wrote: > 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< > https://github.com/apache/activemq-artemis/blob/main/artemis-distribution/src/main/resources/bin/artemis.cmd#L48 > > > * activemq-artemis/artemis at main * apache/activemq-artemis * GitHub< > https://github.com/apache/activemq-artemis/blob/main/artemis-distribution/src/main/resources/bin/artemis#L48 > > > > We have been using G1GC, but experience problems there every other week. > At first everything happens in the young gen space, but after a few days we > see a big increase in the old gen space. A few more days and we see several > minutes of garbage collection, resulting in a failing cluster. We could > probably tune G1GC, but ZGC handles it well. However we do experience > trouble with the counters as Jelmer reported. Looking at your answer there > I'm guessing it has nothing to do with ZGC, but who knows. > > Thanks for your time, > > Walter > > > ********************************************************************** > > Disclaimer > > Dit bericht kan informatie bevatten die niet voor u is bestemd. > Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is > toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht > te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van > welke aard ook, die verband houdt met risico's verbonden aan het > elektronisch verzenden van berichten. > > This message may contain information that is not intended for you. > If you are not the addressee or if this message was sent to you by > mistake, you are requested to inform the sender and delete the message. The > State accepts no liability for damage of any kind resulting from the risks > inherent in the electronic transmission of messages. > > Ministerie van Justitie en Veiligheid. > ********************************************************************** > > . >