Hello!

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 {
   db->connect();

   .. does all the thing...

   db->disconnect();

   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?

Artem


Reply via email to