Subject | Re: [Firebird-Java] Re: problem with Connection-Pooling |
---|---|
Author | Carsten Schäfer |
Post date | 2004-05-29T15:35:15Z |
Roman Rokytskyy wrote:
i have minsize = 5,
but after some idletime i see this:
# getFreeSize(): 1 # getWorkingSize(): 0 # getTotalSize(): 1
#getMinConnections(): 5
so all connections are closed, although minsize is 5.
Carsten
>I think something with minsize is not working,
> As you see, totalSize is always equal to freeSize + workingSize.
> Blocking happens only when totalSize = maxSize and application want
> next connection. In theory, totalSize cannot be less than minSize
> under any circumstances. If your application is idle enough and
> returned all connections to pool, totalSize = minSize.
>
i have minsize = 5,
but after some idletime i see this:
# getFreeSize(): 1 # getWorkingSize(): 0 # getTotalSize(): 1
#getMinConnections(): 5
so all connections are closed, although minsize is 5.
Carsten