On Sun, Feb 6, 2011 at 4:44 PM, Max Pinton <m...@designyourowncard.com> wrote: > Did earlier versions of Perl/mod_perl/DBI/Apache::DBI handle closures > differently?
No, not at all. This is a core Perl thing. > I'm just curious why it used to work. It seems like DBI would > reconnect a $dbh closure if it timed out. One thing that might have changed is your database configuration. MySQL is often configured to automatically reconnect. That doesn't explain all of your errors though. I'm guessing that you're opening a connection during startup and forking with it. You need to find that. Look for things that might open a connection during startup and move them to ChildInitHandlers instead. - Perrin