in reply to Problem with module for forked processes

As you say, if a process inherits a database handle from its parent, there are problems. Don't do that then. Where possible, don't create the handle until after the fork. If that's not feasible, close the inherited handle in the child and then reconnect to the database.

  • Comment on Re: Problem with module for forked processes