in reply to DBI mysql slow queries, hanging threads
my $thread_id = $dbh->{thread_id}; my $new_dbh = $dbh->clone(); $new_dbh->{InactiveDestroy} = 0; $new_dbh->do("KILL $thread_id"); [download]