X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 08D86D1D89A for ; Wed, 14 Jan 2004 12:42:09 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 97282-04 for ; Wed, 14 Jan 2004 08:41:40 -0400 (AST) Received: from quasar.skima.is (quasar.skima.is [212.30.200.205]) by svr1.postgresql.org (Postfix) with ESMTP id 3234DD1B7E7 for ; Wed, 14 Jan 2004 08:41:36 -0400 (AST) Received: from vortex.is ([194.144.34.89] [194.144.34.89]) by quasar.skima.is with ESMTP; Wed, 14 Jan 2004 12:41:15 Z Message-Id: <4005392D.3030702@vortex.is> Date: Wed, 14 Jan 2004 12:42:21 +0000 From: =?ISO-8859-1?Q?J=F3n_Ragnarsson?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; is-IS; rv:1.5) Gecko/20031007 X-Accept-Language: is, en-us, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: 100 simultaneous connections, critical limit? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/170 X-Sequence-Number: 5344 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? J. -- jonr@vortex.is http://jonr.beecee.org +354 699 8086