in reply to puzzling problem with access to DB when using mod_perl
Usually one uses a DB connection-handle pooler: it keeps persistent handles for a short while for re-use, and re-establishes connections on demand. Much more efficient than doing it per-request. Look in CPAN.
In Section
Seekers of Perl Wisdom