Re: mod_perl2 + fork + DBI = Chaos

Tosh Cooey <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Organization Twelve Hundred Group LLC
Message-ID <[email protected]>
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:[email protected]] 
>> Envoyé : lundi, 25. janvier 2010 17:08
>> À : [email protected]
>> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.