You are after task-max-threads (we probably need a better name for this).
io-threads are just used for accepting and parsing HTTP requests, once
the request is parsed it is handed off to the task threads to actually
run the servlet request.
Stuart
FRANCESCO MARCHIONI wrote:
Dear Undertow devs,
I’m running some test on the new undertow subsystem: in particular I’m
trying to control the maximum threads available for serving http
requests (old Tomcat maxThread parameter).
Is it correct to define the max threads allowed via the io-threads
attribute of the worker element as follows ?
<subsystem xmlns="urn:jboss:domain:undertow:1.0">
<http-listener name="default" socket-binding="http"
worker="custom" />
. . .
</subsystem>
<subsystem xmlns="urn:jboss:domain:io:1.0">
<worker name="custom" io-threads="100" />
<buffer-pool name="default" buffer-size="16384"
buffers-per-slice="128"/>
</subsystem>
Or should rather use the task-max-threads attribute instead ?
Thanks!
Francesco
_______________________________________________
undertow-dev mailing list
undertow-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev