On Thu, 2006-02-02 at 00:43 +0100, Clinton Gormley wrote: > That is now what I have seen in mp2. In fact the code that (according > to the comments) is supposed to do that, does nothing but avoid > connecting to the DB on the very first start. (when restart count == 1) > > The parent server immediately restarts and those connections ARE cached > and lead to the problems of shared handles.
Okay, thanks for the report and the patch. We definitely want this functionality to work. I haven't used Apache::DBI recently, but the current code was working fine for me on mp1. Can you file this bug report and patch on the RT queue for Apache::DBI on CPAN? That would make it easier to track. Also, this is only an issue if you use PerlPostConfigRequire, isn't it? I thought you said in your previous mail that it was still okay if you use PerlRequire to load your startup.pl (and are doing database work there). - Perrin