On Tue, 2005-03-15 at 18:40 -0500, Jonathan Vanasco wrote:
> If you instantiate a DBI handle before the fork, then that handle is 
> shared to all the children.  If you instantiate the handle after the 
> fork, the handle belongs to only that child , and shared across the 
> requests of that child.  So, if you get a handle, then spawn 12 
> children, they will each share the single handle.

You're forgetting the next part: "...and then everything will break."

Don't fork with an open database connection and then try to use it.  It
will not work.

- Perrin

Reply via email to