Bug 46563 - NIO protocol states default pollerThreadCount is 1, actually is # processors
Summary: NIO protocol states default pollerThreadCount is 1, actually is # processors
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 6.0.18
Hardware: All All
: P2 trivial (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
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.