Received: from neouvielle.enseirb.fr (neouvielle.enseirb.fr [147.210.18.138]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0RNH1q00538 for ; Sat, 27 Jan 2001 18:17:01 -0500 (EST) (envelope-from bayet@enseirb.fr) Received: from enseirb.fr (bayet.mds [172.16.8.139]) by neouvielle.enseirb.fr (8.9.3/8.9.3) with ESMTP id AAA18184 for ; Sun, 28 Jan 2001 00:15:42 +0100 (MET) Message-ID: <3A735AA7.2EBBBDF2@enseirb.fr> Date: Sun, 28 Jan 2001 00:32:55 +0100 From: Richard Bayet X-Mailer: Mozilla 4.7 [fr] (Win98; I) X-Accept-Language: fr MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: PostgreSQL and PHP for a web site, yes but ... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200101/182 X-Sequence-Number: 559 How do I set up (here, to extend it) the maximum number of clients for a database ? I start postmaster with 'postmaster -i -N 16' (I can't use more than 16 due to the IPC sys V blabla ...). I know N is the number of backend server processes, but does it have a result on the maximum number of clients ? Here's the problem i have on the web site i'm currently developping: Unable to connect to PostgreSQL server: "Sorry, too many clients already in -file i'm using to open the connection-" (i only open the connectiion if there isn't one already opened) ... Here's the stuff from php.ini: [PostgresSQL] pgsql.allow_persistent = On ; allow or prevent persistent link pgsql.max_persistent = -1 ; maximum number of persistent links. -1 means no limit pgsql.max_links = -1 ; maximum number of links (persistent+non persistent). -1 means no limit So, it looks like the problem isn't coming from PHP ... I'm worrying a bit because PostgreSQL is supposed to be a good choice for dynamic web sites, but eh ... will i be able to have more than a handful of visitors at the same time ? :)