Re: 100 simultaneous connections, critical limit? - Mailing list pgsql-performance

From Shridhar Daithankar
Subject Re: 100 simultaneous connections, critical limit?
Date
Msg-id 200401141831.00453.shridhar_daithankar@persistent.co.in
Whole thread Raw
In response to 100 simultaneous connections, critical limit?  (Jón Ragnarsson <jonr@physicallink.com>)
List pgsql-performance
On Wednesday 14 January 2004 18:18, Jón Ragnarsson wrote:
> I am writing a website that will probably have some traffic.
> Right now I wrap every .php page in pg_connect() and pg_close().
> Then I read somewhere that Postgres only supports 100 simultaneous
> connections (default). Is that a limitation? Should I use some other
> method when writing code for high-traffic website?

Yes. You should rather investigate connection pooling.

I am no php expert but probably this could help you..

http://www.php.net/manual/en/function.pg-pconnect.php

 Shridhar



pgsql-performance by date:

Previous
From: Jón Ragnarsson
Date:
Subject: 100 simultaneous connections, critical limit?
Next
From: Christopher Browne
Date:
Subject: Re: 100 simultaneous connections, critical limit?