From: Adam Lang <aalang@rutgersinsurance.com>
To: pgsql-php@postgresql.org
Subject: Re: php4 / pgsql7 problem (too many clients)
Date: Fri, 27 Oct 2000 15:54:36 -0400
Message-ID: <004601c0404f$bc372ae0$330a0a0a@6014cwpza006> (raw)
References: <006d01c04045$69b75ec0$c2092fce@pascal>
someone had mentioned before that persistent connections don't work so well
in PHP. It doesn't do a very good job of releasing them... so eventually it
fills up. The solutions are either to restart the postmaster when it
happens or don't code persistent connections.
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
----- Original Message -----
From: "Pascal Jolin" <pjolin@e-c.qc.ca>
To: <pgsql-php@postgresql.org>
Sent: Friday, October 27, 2000 2:40 PM
Subject: php4 / pgsql7 problem (too many clients)
> I recently started getting this message on a pgsql7 / php4 installation:
>
>
> Warning: Unable to connect to PostgresSQL server: Sorry, too many clients
> already in /usr/local/lib/php/phplib-7.2/php/db_pgsql.inc on line 40
> Database error: Link-ID == false, pconnect failed
> PostgreSQL Error: 0 ()
> Session halted.
>
> I've been unable to locate the source of this error, or any pertinent
info
> about the default number of client connections allowed, and/or how to
> change
> it.
>
> Can anyone point me in the right direction please ?
>
>
>
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: aalang@rutgersinsurance.com
Subject: Re: php4 / pgsql7 problem (too many clients)
In-Reply-To: <004601c0404f$bc372ae0$330a0a0a@6014cwpza006>
References: <006d01c04045$69b75ec0$c2092fce@pascal> <004601c0404f$bc372ae0$330a0a0a@6014cwpza006>
* 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