[imp] DB Error :: connect failed - sql shared session management

Jan Schneider jan at horde.org
Wed Jul 21 12:28:29 PDT 2004


Zitat von Michael Yingbull <mbull at uoguelph.ca>:

> We've encountered the above error when using jMeter to do some
> performance tests against a new webserver running IMP.
>
> At a fair low load, we hit a point where there are a number of failures
> that come up when the test application tries to do a function inside IMP
> -- and it fails out with the dreaded "Purple Screen of Death" :-)
> showing the above error.   For some reason the server settings aren't
> allowing it to keep up with requests.    It is failing contacting the
> mysql server for session info (we're using mysql to store the session
> info amongst a cluster - this just happens to be the first machine in
> the cluster).
>
> I configured horde to use the sql pear driver.

You should use the native mysql driver, the pear driver adds too much
overhead.

> Are there any tuning changes that should be done to the mysql server
> (mysql 4), php (4.3.7), or the linux server that it runs on?

I don't know off my head if mysql has a connection limit, but if it has one,
make sure that is at least as high as the maximum child limit of the apache
server.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting.php


More information about the imp mailing list