Skip site navigation (1) Skip section navigation (2)

Re: too many clients

From: "Gavin M(dot) Roy" <gmr(at)ehpg(dot)net>
To: Matthew Terenzio <webmaster(at)localnotion(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: too many clients
Date: 2004-12-30 18:45:36
Message-ID: 1104432336.32609.44.camel@localhost (view raw or flat)
Thread:
Lists: pgsql-php
Yes, php opens 1 persistant connection per apache backend per database.

On Thu, 2004-12-30 at 09:03 -0500, Matthew Terenzio wrote:
> >
> >
> > On Thu, 2004-12-30 at 00:20 -0500, Greg Stark wrote:
> >> "Gavin M. Roy" <gmr(at)ehpg(dot)net> writes:
> >>
> >>> I use it on a few very high traffic sites without issue, but it is 
> >>> tuned so
> >>> that there is only 1 persistant connection per apache backend and 
> >>> postgresql
> >>> will allow the max apache backends, which by default is generally 
> >>> 256. I
> >>> highly recommend it in such a situation, while I generally do not 
> >>> recommend
> >>> it in any other.
> So if I have one Postgres installation but two databases, is it 
> possible that PHP would create twice as many persistant connections as 
> apache childs? This may be where my understanding went awry.
> >
> > ---------------------------(end of 
> > broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
> 


In response to

Responses

pgsql-php by date

Next:From: Frank BaxDate: 2004-12-30 20:34:15
Subject: Re: too many clients
Previous:From: Frank BaxDate: 2004-12-30 14:35:06
Subject: Re: too many clients

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group