[CDBI] Re: Class::DBI and forking

Carlos Vicente cvicente at network-services.uoregon.edu
Wed Jan 10 18:06:02 GMT 2007

> The message it refers to is here:
> http://lists.digitalcraftsmen.net/pipermail/classdbi/2005-October/000338.html
> If you use this patch to Ima::DBI, you will not need to modify anything 
> else in Class::DBI.  Make sure you set InactiveDestroy on your database 
> handles in the child process, and on any you open prior to the initial 
> fork, since those eventually time out and close as well.
> - Perrin

Hi Perrin,

It looks like that will work.  Thank you.

It would be *great* if this made it into CPAN.  My application is an
open source package and it would be much better if people didn't have to
go around patching CPAN modules to make it work.

Thanks much.


More information about the ClassDBI mailing list