Re: Apache/mod_perl/mysql - threads at startup

2004-05-28 Thread Mike Blazer
ls let me have just one DB handle per child, instead of 7 handles! :) Having 10-15 childs active this saves a lot of mysql threads. Actually even if you have few PerlHandler modules with their sub handler's - each time the child executes just one of them and so it's safe to reuse the same

Re: Apache/mod_perl/mysql - threads at startup

2004-05-27 Thread Mike Blazer
f called in non-mod_perl environment. It's actually added for some persistency, to mean 'reconnect' even not under mod_perl DBI->connect(...) each time the PerlHandler runs is supposed to ping (Apache::DBI::connect) and keep the previous handler if it's alive otherwise -

Apache/mod_perl/mysql - threads at startup

2004-05-27 Thread Mike Blazer
, But at least 2 childs always connect to the same thread. Any ideas? Thanks! -- == Mike Blazer [EMAIL PROTECTED] == -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html Li

Apache::DBI small bug

2003-10-30 Thread Mike Blazer
e { AutoCommit => 1, PrintError => 1, Username => undef }, The possible fix would be map { $Idx .= "$;$_=$args[3]->{$_}" if defined $args[3]->{$_} } sort keys %{$args[3]}; Thanks -- == Mike Blazer [EMAIL PROTECTED] ==