perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <phark...@gmail.com>
Subject Re: DBI Connectons accumulate under Mod_perl
Date Wed, 11 Nov 2009 17:56:20 GMT
On Tue, Nov 10, 2009 at 10:04 AM, Artem Kuchin <matrix@itlegion.ru> wrote:
>  The weirdest thing is that
> there are two sites, running
> pretty much the same software (minor changes to user part, no changes to db
> part). Connections
> from one site accumulate, connection from other site do not accmulate -
> disconnect work fine.

Your disconnect() calls should not not do anything if Apache::DBI is
loaded.  Make sure you load it before you load DBI.

To see what's happening, turn on debugging by setting
$Apache::DBI::DEBUG to 2 after you load Apache::DBI.

- Perrin

Mime
View raw message