From: Serge Canizares <serge@ephilosopher.com>
To: Itai Zukerman <zukerman@math-hat.com>
To: SQL <pgsql-sql@postgresql.org>
Subject: Re: Persistent Connects (pg_pconnect)
Date: Wed, 22 Nov 2000 09:08:47 -0500
Message-ID: <3A1BD36F.68722F03@ephilosopher.com> (raw)
References: <4.3.2.7.2.20001121122024.00b41aa8@192.168.1.253>
<87d7foocu7.fsf@matt.w80.math-hat.com>
> Not sure if this is related, but under the non-threading Apache
> server, you get 1 persistent connection per Apache process. I don't
> think you can be sure which process gets the page with the connection
> request, so if you have a limit of, say, 50 processes, and your server
> is hit fairly often, eventually you'll see 50 connections even though
> only a few simultaneous accesses to PHP/PostgreSQL are made.
>
> Or, I could be totally off.
>
> -itai
Actually, with php 4.0x, the apache processes can gather a pool of persistent connexions.
I had the same sort of problem once, and saw that each apache process was grabbing ~4
postgreSQL connexions and thus maxing out the number available from the server.
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-sql@postgresql.org
Cc: serge@ephilosopher.com, zukerman@math-hat.com
Subject: Re: Persistent Connects (pg_pconnect)
In-Reply-To: <3A1BD36F.68722F03@ephilosopher.com>
References: <4.3.2.7.2.20001121122024.00b41aa8@192.168.1.253> <87d7foocu7.fsf@matt.w80.math-hat.com> <3A1BD36F.68722F03@ephilosopher.com>
* 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