http://www.perlmonks.org?node_id=934521


in reply to Re^2: Connection Pooling
in thread Connection Pooling

If it's opening new connections every time I'd look into why it's closing the connections in the first place.

With 'Max' set to 2, $pool->get() should return undef when you try to exceed 2 connections.

Set up a test where you attempt to get 3 resources simultaneously and watch the database logs to see what's going on with the connections.