Henk Fictorie wrote:
> I have a question on the connection_pool_size and connection_pool_minsize. We
> use apache 2.0, mod_jk 1.2.19 with the worker MPM, we haven't specified any
> of these two properties.
>
>>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?
>
> Does anyone know?
Yes. I know :)
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.
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)