>-----Message d'origine-----
>De : Tosh Cooey [mailto:t...@1200group.com] 
>Envoyé : lundi, 25. janvier 2010 17:08
>À : modperl@perl.apache.org
>Objet : mod_perl2 + fork + DBI = Chaos
>
>My application-from-hell is doing odd things probably related to the 
>above storms and culminating in a perfect storm.
>
>Can anyone point me to resources outlining the best way to use the 
>combination in the subject line?
>

See the DBI doc under "InactiveDestroy"; there are some words of advice about 
forks.

But anyway, as said in that doc, passing a dbh across a fork is not supported 
by all drivers.
In particular if your "..parent things.." also includes some access to the dbh, 
then you
might enter into nasty concurrency problems, and that might force you to change 
the architecture of your app ...

Good luck anyway!

Laurent Dami

Reply via email to