On Thu, 2004-04-22 at 16:34, Chris Ochs wrote: > If I set the environment in startup.pl but open the db > handle in my perl handler every time the page is accessed the performance > drops by about 300%, but it does make the errors go away.
There is no need to open the handle every time. You can open it once and put it in a global. Just do it after the fork. It's the same idea as Apache::DBI. - Perrin -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html