Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: DBI, fork, and clone.

by kyle (Abbot)
on Apr 24, 2007 at 16:23 UTC ( #611772=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^2: DBI, fork, and clone.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://611772]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-09-22 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (208 votes), past polls