I tried to reproduce this using a fresh instance of 2.40.0 with 2,500 queues defined in broker.xml (thanks to a bash script), but the console loaded in just a few seconds.
I then created a fresh instance of 2.39.0 with 2,500 queues defined in broker.xml. Then I ran "artemis data exp" to export the data and then created a fresh instance of 2.40.0 and ran "artemis data imp" to import those queues. After that I opened the console and it loaded in a few seconds. Could you perhaps grab a few thread dumps from the broker when you see it running at 99% and share links to them? Also, are there further details you can share about your use-case? You must be doing something different in your environment to get that result than what I'm doing. Justin On Mon, Apr 7, 2025 at 10:24 AM Alexander Milovidov <milovid...@gmail.com> wrote: > Hi All, > > Has anyone installed ActiveMQ Artemis 2.40.0 in an environment with a > significant number of addresses and queues? > I have several problems with performance of the new Artemis console and > message broker. I have installed Artemis 2.40.0 and imported data from a > file which was exported from the test environment with approx. 2500 queues. > > 1. When opening the Artemis console for the first time, it takes about > 200-250 seconds to load. > 2. When the console is loading, the server's processor is loaded at 99%. > After it loads, the CPU load is decreased to 3-5%. > > This virtual machine has 1 processor, 4 Gb of memory, 2 Gb java heap, and > there were no problems running Artemis 2.39.0 with the same configuration. > After increasing to 4 CPU, 8 Gb, the console is still loading 150 seconds, > and 4 CPUs are loaded to 25%. Increasing the heap to 4 Gb did not change > anything. > > Is there any way to increase the performance of the new console? > > Another problem is that the bugfix ARTEMIS-5248 caused audit logs to grow > significantly. We are using the LDAPLogin module with Active Directory > authentication and authorization based on membership of the user. Each user > in our company's active directory domain can be a member of 100-400 domain > groups, and each group is a role. The list of roles is logged in each audit > log message, and the size of each message can be significantly large (up to > 10 Kb). Unfortunately, disabling audit logging does not affect the overall > performance of the web console. > > I will later try to reproduce this issue in a fresh installation by > creating 2500 empty queues. > > -- > Regards, > Alexander >