On Wed, 10 Jan 2001, Scott Alexander wrote:

> HI,
>
> I'm using a AuthAny handler to authenticate for every script. Today
> for the first time the production server was put thru it's paces. I had
> about 80 users at the same time. Checking the apache error log
> there were a lot of
>
> DBI->connect failed: Too many connections at
> /systems/humakpro/lib/library.pm line 213
>
> I have 10 different databases. Would I solve this problem if I started
> using persistent connections? I've installed ApacheDBI on a test
> server but I can't produce the same load or can I ?

Looks like you are not closing connections properly. Check your code. Use
trace to make sure that you do. See the guide.

As for Apache::DBI, again see the guide, to understand when Apache::DBI is
to be used and when not. It's all there.



_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Reply via email to