From: Andy Dunlop <andy@infocus.co.za>
To: pgsql-php@postgresql.org
Subject: Too many clients
Date: 27 Feb 2004 23:11:33 +0200
Message-ID: <1077877268.1247.9.camel@redhat1.localdomain> (raw)
I hope this goes to the right place!
I occasionally get the error "too many clients" when connecting to the
database. I try restarting the Postgres server and also Apache, but the
only thing that clears the problem is restarting Linux. I have maxusers
set to 35, and I am the only user, so I suspect I am not doing something
in my scripts that I should be, or doing something that I shouldn't be!
I have the pg_connect at the top of the script so each time it loads the
page it does a new connect - maybe this is a problem?
Probably a simple solution, anyone know?
Thanks
Andy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: andy@infocus.co.za
Subject: Re: Too many clients
In-Reply-To: <1077877268.1247.9.camel@redhat1.localdomain>
References: <1077877268.1247.9.camel@redhat1.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox