Artemis - Help understanding heap dump

2025-01-14 Thread s.goetz
Hello group, currently I am analyzing an OOM crash of a productive broker (ActiveMQ Artemis 2.28). The broker ran under 64 bit OpenJDK 17.0.9+9 (Temurin) with 4GB of heap configured via -Xmx VM option and G1 garbage collector. In the analyzer histogram I can see, that there are 5 big consume

JMX exporter in Docker image

2025-01-14 Thread Vilius Šumskas
Hi, I‘m trying to configure JMX remoting in official Artemis Docker image. I see that Docker image has port 9404 exposed which indicates JMX Prometheus exporter, but I cannot find any information how to activate it or even the exporter JAR in the image itself. Is this a bug left from https://g

RE: Error reading large message from topic, have workaround

2025-01-14 Thread John Lilley
Justin, When reproducing, are you after version 2.39 of the client, broker, or both? john -Original Message- From: Justin Bertram Sent: Monday, January 13, 2025 10:20 AM To: users@activemq.apache.org Subject: Re: Error reading large message from topic, have workaround *** [Caution] This

Re: Artemis - Help understanding heap dump

2025-01-14 Thread Clebert Suconic
as part of ARTEMIS-4447, I added parameters to address-settings for prefetching. Also there was some flow changes based on an issue I had with an user, as they had consumers prefetching for a long time issuing more messages out of paging into memory. You can now configure prefetch and such con

Re: Error reading large message from topic, have workaround

2025-01-14 Thread Justin Bertram
Ideally both to rule out the possibility this has been fixed already. Justin On Tue, Jan 14, 2025 at 9:06 AM John Lilley wrote: > Justin, > When reproducing, are you after version 2.39 of the client, broker, or > both? > john > > -Original Message- > From: Justin Bertram > Sent: Monda

Re: JMX exporter in Docker image

2025-01-14 Thread Justin Bertram
You can enable remote JMX connectivity by modifying management.xml as described in this documentation [1]. Of course you'd need to expose whatever port you're using for remote JMX via Docker. The thing with port 9404 does appear to be a bug. These days we recommend folks use the pluggable broker m

AW: Artemis - Help understanding heap dump

2025-01-14 Thread s.goetz
Hey Clebert, thank you for the tip about ARTEMIS-4447. If I understand correctly, these settings will influence how many messages of a persistent page are loaded into memory. This sounds quite likely. We have had similar issues in the past with many consumers that were unable to dispatch the mes

RE: JMX exporter in Docker image

2025-01-14 Thread Vilius Šumskas
Yes, I've read documentation regarding JMX management, but I had issues with configuration so decided to look into JMX exporter as a workaround. I also saw your suggestion regarding Prometheus plugin in another thread, and will definitely try it, but I wanted to try JMX first as there are much m