Re: too many clients

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxx> 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
> 



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux