From: Mitch Vincent <mvincent@cablespeed.com>
To: pgsql-php@postgresql.org
Subject: Re: persistent vs. non-persistent
Date: Mon, 1 Oct 2001 17:46:44 -0400
Message-ID: <01a301c14ac2$908990d0$1e51000a@mitch> (raw)
References: <20011001213819.82F8B2AB46@bugs.unl.edu.ar>
> I'm having headaches with PHP, postgres and persistent connections.
They never have really worked for me, but I haven't tried with the recent
PHP->PGSQL improvements..
> The problem is that my postgres backends stay alive after closing the
> connection.
That's what a persistant connection is, though... You'll have as many
minimum PG backends hanging around as you do minimum apache backends (once
that many PG backends get started, they hang around).
> I use pg_pconnect to connect to the database, put after closing the
> conection, nothing happens, la backend stays alive, and all I can do is
> restart apache to make them close (really close).
>
> Any solution to this?
Sure, don't use persistant connections..It sounds like they're the opposite
of what you want...
-Mitch
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: mvincent@cablespeed.com
Subject: Re: persistent vs. non-persistent
In-Reply-To: <01a301c14ac2$908990d0$1e51000a@mitch>
References: <20011001213819.82F8B2AB46@bugs.unl.edu.ar> <01a301c14ac2$908990d0$1e51000a@mitch>
* 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