On Mon, Jun 14, 2004 at 04:10:37PM +0200, Magnus Manske wrote:
Suggestion:
* PHP queries the database
* PHP gets an error because of max_connections
* PHP waits a random number of milliseconds, tries again
* If there's no connection after 5 (?) tries, *then* the error can show
That should reduce the occurrences of the error to a minimum.
Other proposal: Reduce number of apache processes to match number of
max_connections. Kernel would queue the requests to the apaches until
one is available.
JeLuF