in reply to mod_perl, dbh, forked

Some of the things perrin mentions are discussed in a little more detail in DBI, fork, and clone.

could this be caused by the dbh being copied to all children, then when they close they mess up the parent's one?

Yes, this will happen.