https://issues.apache.org/bugzilla/show_bug.cgi?id=56909
Bug ID: 56909
Summary: Failed to create poller with specified size of -1
Product: Tomcat 7
Version: 7.0.26
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Connectors
Assignee: [email protected]
Reporter: [email protected]
set maxConnections="-1" with the APR connector.
tomcat start fail,the error msg is:
"org.apache.tomcat.util.net.AprEndpoint allocatePoller
Failed to create poller with specified size of -1"
// Single poller by default
int defaultPollerSize = getMaxConnections();
if ((OS.IS_WIN32 || OS.IS_WIN64) && (defaultPollerSize > 1024)) {
// The maximum per poller to get reasonable performance is 1024
// Adjust poller size so that it won't reach the limit. This is
// a limitation of XP / Server 2003 that has been fixed in
// Vista / Server 2008 onwards.
actualPollerSize = 1024;
} else {
actualPollerSize = defaultPollerSize;
}
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]