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
>
> worker.xxx.connection_pool_size=ThreadsPerChild
> worker.xxx.connection_pool_minsize=ThreadsPerChild/2
>
> 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
--
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)