[undertow-dev] Undertow worker threads

FRANCESCO MARCHIONI francesco.marchioni at ericsson.com
Wed Jun 12 04:23:18 EDT 2013


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20130612/8ee1ef0d/attachment.html 


More information about the undertow-dev mailing list