This content has been marked as final.
Show 1 reply
-
1. Re: How to configure JGroups Thread Pool ?
pferraro Dec 1, 2014 11:56 AM (in response to markboletti)The io subsystem registers org.xnio.XnioWorker services, whereas JGroups default-executor expects the name of a thread pool. The threads subsystem still exists, but the extension is not loaded/defined by/in the default configuration. WildFly 9 will change the way thread pools are defined in JGroups. Until then, I recommend configuring the JGroups transport thread pools via properties.
e.g.
<transport type="UDP" socket-binding="jgroups-udp"> <property name="thread_pool.min_threads">20</property> <property name="thread_pool.max_threads">300</property> <property name="thread_pool.keep_alive_time">60000</property><!-- in ms --> <property name="thread_pool.queue_max_size">100</property> </transport>