in reply to Class::DBI and mod_perl

The way to fix this is to increase the number of connections your database allows. You shouldn't be closing your connections. It's much faster to use persistent ones.