Attribute MaximumPoolSize of thread-pool "management"

62 views
Skip to first unread message

Alexander Belya (AlexSW)

unread,
May 28, 2025, 7:56:18 AMMay 28
to WildFly
Hi all.
There is a need to increase the maximum number of pools for thread-pool=management. In standalone.xml config file I didn't see any attributes related to this setting, but this thread-pool is visible through MBeans tab in JConsole:
screenshot.jpg

The value of the required MaximumPoolSize attribute is always 10. Here you can edit its value, but it will be valid only until WF restart. After that the value will be restored and will become 10.

I would like to understand if there is any way to edit the value of this attribute in the config file (or maybe, if possible, set it as JAVA_OPTS in standalone.conf)?

Bartosz Baranowski

unread,
Jun 2, 2025, 2:15:34 AMJun 2
to WildFly
Did you try to replicate with jboss CLI/HAL or only with jmx console?

Alexander Belya (AlexSW)

unread,
Jun 3, 2025, 12:31:47 AMJun 3
to WildFly
Can you tell me what you mean by replication? I tried to find a suitable parameter in jboss-cli that is responsible for this, but I couldn't find it.

понедельник, 2 июня 2025 г. в 09:15:34 UTC+3, Bartosz Baranowski:

Bartosz Baranowski

unread,
Jun 3, 2025, 2:56:28 AMJun 3
to Alexander Belya (AlexSW), WildFly
AFAIR: /subsystem=io/worker=default

--
You received this message because you are subscribed to a topic in the Google Groups "WildFly" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wildfly/g128pmU4gVA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wildfly+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wildfly/ce67cc52-7b6f-40c7-92fe-f88cebca7e87n%40googlegroups.com.


--

"With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably."

Bartosz Baranowski
RedHat R&D

Alexander Belya (AlexSW)

unread,
Jun 3, 2025, 7:41:04 AMJun 3
to WildFly
Among the attributes proposed in the /subsystem=io/worker=default block, I did not see any attribute responsible for the maximum number of pools for management ports. There is an attribute max-pool-size, but, firstly, its value differs from the MaximumPoolSize attribute from thread-pool=management, and, secondly, this attribute is responsible for a different functionality.

вторник, 3 июня 2025 г. в 09:56:28 UTC+3, Bartosz Baranowski:

Bartosz Baranowski

unread,
Jun 3, 2025, 7:49:16 AMJun 3
to Alexander Belya (AlexSW), WildFly
Unless I miss something, it should be it - Ive tested by modifying value with CLI and checked that MBean after refresh. I will double check tomorrow.

Alexander Belya (AlexSW)

unread,
Jun 9, 2025, 1:29:37 AMJun 9
to WildFly
Bartosz, were you able to verify your hunch?

вторник, 3 июня 2025 г. в 21:49:16 UTC+10, Bartosz Baranowski:

Bartosz Baranowski

unread,
Jun 11, 2025, 3:54:29 AMJun 11
to WildFly
Hey. Sorry for delay. I think I made mistake, I assumed first "open" bean is the one you had in mind, not "management".
And yeah, I dont see it in CLI.
Anyway, this does sound like a bug.
Reply all
Reply to author
Forward
0 new messages