Sorry, I forgot to mention I checked InactiveDestroy as well, but since my parent sends a 302 redirect to the browser right away and nothing else is done in the parent I don't think that's the culprit.

Thanks for reminding me!

Tosh


Dami Laurent (PJ) wrote:
-----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



--
McIntosh Cooey - Twelve Hundred Group LLC - http://www.1200group.com/

Reply via email to