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.
In reply to Re: Problem with module for forked processes
by philipbailey
in thread Problem with module for forked processes
by brass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |