You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/04/28 13:15:00 UTC
[Bug 53158] New: Wrong default values indicated for the evictor
service
https://issues.apache.org/bugzilla/show_bug.cgi?id=53158
Priority: P2
Bug ID: 53158
Assignee: dev@tomcat.apache.org
Summary: Wrong default values indicated for the evictor service
Severity: normal
Classification: Unclassified
OS: All
Reporter: ph.dezanneau@gmail.com
Hardware: All
Status: NEW
Version: unspecified
Component: Documentation
Product: Tomcat 6
http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html
In this Tomcat 6.x documentation page, it is stated that :
timeBetweenEvictionRunsMillis - The number of milliseconds between consecutive
runs of the evictor. Default: 30*60*1000 (30 minutes)
minEvictableIdleTimeMillis - The idle time in milliseconds after which a
connection can be removed from the pool by the evictor. Default: -1 (disabled)
The default values for those parameters are actually the other way around :
timeBetweenEvictionRunsMillis - The number of milliseconds between consecutive
runs of the evictor. Default: -1 (disabled)
minEvictableIdleTimeMillis - The idle time in milliseconds after which a
connection can be removed from the pool by the evictor. Default: 30*60*1000 (30
minutes)
You can see this on the GenericObjectPool class from commons-pool :
http://grepcode.com/file/repo1.maven.org/maven2/commons-pool/commons-pool/1.3/org/apache/commons/pool/impl/GenericObjectPool.java#GenericObjectPool
Thank you.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53158] Wrong default values indicated for the evictor service
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53158
Rainer Jung <ra...@kippdata.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Rainer Jung <ra...@kippdata.de> ---
Thanks for the info. Fixed in trunk (r1331766), TC 7 (r1331772), TC6 (r1331774)
and TC 5.5 (r1331775).
Regards,
Rainer
--
You are receiving this mail because:
You are the assignee for the bug.