Bug 46563 - NIO protocol states default pollerThreadCount is 1, actually is # processors
NIO protocol states default pollerThreadCount is 1, actually is # processors
Status: RESOLVED FIXED
Product: Tomcat 6
Classification: Unclassified
Component: Documentation
6.0.18
All All
: P2 trivial (vote)
: default
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2009-01-19 21:46 UTC by Kirk True
Modified: 2009-01-29 21:07 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirk True 2009-01-19 21:46:16 UTC
pollerThreadCount's description is:

    The number of threads to be used to run for the polling events. 
    Default value is 1. Can't see a reason to go above that. But 
    experiment and find your own results.

The code appears to default to Runtime.getRuntime().availableProcessors() which may be one, but in many cases is not.
Comment 1 Mark Thomas 2009-01-29 21:07:14 UTC
Thanks for the report. This has been fixed in trunk and 6.0.x and will be included in the next release.