Hmm.   I just remembered that I have a second infrequently-accessed
database which is also configured.

So I'd really have 3 runtimes * 2 connection pools, so that explains 6 of the 8.

Not sure where the other two are from unless I have a 4th runtime that
I've overlooked.


On Cayenne 4, yes, that's one of my goals this summer -- upgrade to
Cayenne 4.  Probably won't happen until July, though.


I'm going to add something that will dump all threads when this
exception is hit.

On Fri, Jun 12, 2015 at 11:15 AM, Andrus Adamchik
<and...@objectstyle.org> wrote:
>
>> On Jun 12, 2015, at 6:09 PM, Mike Kienenberger <mkien...@gmail.com> wrote:
>>
>> And, interestingly enough, I only have 8 "PoolManagerCleanup" threads,
>> and not the 9 that I expected.  Maybe they are create-on-demand and
>> one of my runtimes hasn't needed it yet?
>
> There should be 3 actually. One per PoolManager, not one per connection. So 
> something may be going on there.
>
> FWIW 4.0.M3 (master branch) has a completely new non-blocking alternative to 
> PoolManager. The cleanup process is also more sane there.
>
> Andrus
>

Reply via email to