Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Using DBI::clone()

by herveus (Prior)
on Sep 29, 2003 at 21:13 UTC ( [id://295118]=note: print w/replies, xml ) Need Help??


in reply to Using DBI::clone()

Howdy!

...well, each child is doing exactly the same thing immediately after the fork, so each one of those HASH(0x74fc2c) thingies is at the same address in the address space of each process, but not the same physical address. At least that is how I see it...

It suggests that memory allocation is very deterministic. :)

yours,
Michael

Replies are listed 'Best First'.
Re: Re: Using DBI::clone()
by simonm (Vicar) on Sep 30, 2003 at 17:44 UTC
    Yup -- the fact that the DBI::dbh objects are allocated into the same Perl address in each child doesn't mean that their internal state, such as a DBMS's session or connection ID, would be identical.

    You might try checking your database server to confirm that it knows about each of the connected clients.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-25 23:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found