Re: Forking and Database Handles

2004-05-24 Thread William McCabe
On 5/24/04 at 2:38 PM, [EMAIL PROTECTED] (Matt Christian) wrote: > Because most of the errors I get are database-flavored, I'm thinking > that the issue has to do with sharing the database handle across the > fork. Have you tried not sharing them? I mean, if you're already expecting a long runn

Re: Forking and Database Handles

2004-05-24 Thread Perrin Harkins
On Mon, 2004-05-24 at 15:38, Matt Christian wrote: > Because most of the errors I get are database-flavored, I'm thinking > that the issue has to do with sharing the database handle across the > fork. Yes, in general you shouldn't do that. > The DBI documentation says that setting InactiveDestr

Forking and Database Handles

2004-05-24 Thread Matt Christian
Greetings, First things first: I'm running mod_perl 1.29 with Apache 1.3 on FreeBSD 5.1. I have been developing a mod_perl application (showing a "We're processing your request" page while running a lengthy database query) that requires forking. I've read through the mod_perl forking docs and