Hi,
I'm pretty sure that the problem comes from the fact that you share the DB-Connection. As soon as a child dies the connection is closed by the DESTROY function of the dbh-handle (DBI functionality). Have a look at DBIx::Connector.
UPDATE: Also have a look at perldoc DBI and search for InactiveDestroy.
Best regards
McA
In reply to Re: Problem with forking in perl
by McA
in thread Problem with forking in perl
by rkrish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |