tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henk Fictorie <>
Subject Re: mod_jk - connection_pool_size and connection_pool_minsize
Date Tue, 30 Jan 2007 16:11:32 GMT

Mladen Turk wrote:
> Henk Fictorie wrote:
>> From reading the documentation I understand that connection_pool_size is
>> set
>> to its default value, the ThreadsPerChild setting from Apache.
>> According to the documentation the connection_pool_minsize is only used
>> when
>> the connection_pool_size is specified. Since I didn't specify the
>> connection_pool_size, I conclude that the connection_pool_minsize is not
>> used. But how does it work then? Is there no minimum size for the
>> connection
>> pool and will all connections be freed (after the connection_pool_timeout
>> value)? Or will connections never be freed?
> default
> connection_pool_minsize = (connection_pool_size + 1) / 2
> Since default connection_pool_size is ThreadsPerChild
> the connection_pool_minsize is ThreadsPerChild/2
> So, when you set the connection_pool_timeout without
> specifying anything else it would behave like
> Regards,
> Mladen.

Thanks for the clarification.
The documentation for connection_pool_minsize however creates confusing (for
me at least). The sentence

This property is used only when the connection_pool_size is specified.

could be removed from the documentation as it does not give any help.

regards Henk Fictorie
View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message