X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4E0AAD7CDA for ; Mon, 29 Aug 2005 14:59:02 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 50618-08 for ; Mon, 29 Aug 2005 17:58:56 +0000 (GMT) Received: from smtp-bedford-dr.mitre.org (smtp-bedford-dr-x.mitre.org [192.160.51.65]) by svr1.postgresql.org (Postfix) with ESMTP id C174FD7CC5 for ; Mon, 29 Aug 2005 14:58:54 -0300 (ADT) Received: from smtp-bedford-dr.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford-dr.mitre.org (8.11.6/8.11.6) with SMTP id j7THwsh08434 for ; Mon, 29 Aug 2005 13:58:54 -0400 Received: from smtp-bedford-dr.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford-dr.mitre.org (Postfix) with ESMTP id 10E0A4F8DA for ; Mon, 29 Aug 2005 13:58:54 -0400 (EDT) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtp-bedford-dr.mitre.org (8.11.6/8.11.6) with ESMTP id j7THwrq08394; Mon, 29 Aug 2005 13:58:53 -0400 Received: from thelonious.mitre.org (129.83.51.56) by mailhub1.mitre.org with SMTP id 19592118; Mon, 29 Aug 2005 13:58:49 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <5c420b4517009f2ae9c0214f9851794d@mitre.org> Content-Transfer-Encoding: 7bit From: "John D. Burger" Subject: max_connections Date: Mon, 29 Aug 2005 13:59:16 -0400 To: pgsql-general General X-Mailer: Apple Mail (2.622) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=-0.023 required=5 tests=[AWL=-0.023] X-Spam-Level: X-Archive-Number: 200508/1442 X-Sequence-Number: 82850 I've recently succeeded in lobbying my sysadmins to upgrade from 7.2.0 to 7.4.8 (thanks to everyone for the advice on how to leverage this). I'm now fiddling with some of the performance parameters, and I'm wondering about max_connections. The default appears to be 100 - this is at least an order of magnitude higher than I need. Would much be saved by dropping this down to 10 or less? I gather I could dial shared_buffers up slightly (SHMMAX is 32M on our Solaris boxes), but is there any substantive benefit to conservatively setting max_connections? Thanks. - John D. Burger MITRE