If you read up on the InactiveDestroy database handle attribute, you'd know that forked processes should not share a database handle, and some databases won't even pass a db handle across a fork. If a child process needs a db handle, then you should connect in the child process.