http://qs321.pair.com?node_id=611772


in reply to Re: DBI, fork, and clone.
in thread DBI, fork, and clone.

A few brief comments...

  1. I'd be interested to see the code you say is not working. Without seeing it, it's hard to tell what might be going on.
  2. The problem really concerns shared connections (and avoiding them). I'm not sure that same memory addresses (in different processes) implies same connections.
  3. Letting each child have its own connection is easiest if you can close the parent's connection first. In my case, that wasn't feasible, but maybe it is in your case.

Thanks for your comments.