perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Artem Kuchin <>
Subject DBI Connectons accumulate under Mod_perl
Date Tue, 20 Oct 2009 16:59:13 GMT

I have a very weird situation. I use MYSQL. Apache 2.2 with mod_perl2

O use Modperl::RegistryBB to run the script, but the script itself is
written very nicely
for mod_perl. That is no globals at all. Everything is in sub handler.
I do not use Apache::DBI, just plain "use DBI;"

So, what it does (basic idea)

sub  handler {

    .. does all the thing...


    print $output;


however, whe i do in mysql

show processlist;

I see many connection hanging in sleep state and they grow and grow slowly!
Any idea why this happens?


View raw message