X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6AE593A5433 for ; Wed, 1 Dec 2004 16:23:52 +0000 (GMT) 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 68248-09 for ; Wed, 1 Dec 2004 16:23:42 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 317873A49C6 for ; Wed, 1 Dec 2004 16:23:42 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id iB1GNfte008946; Wed, 1 Dec 2004 11:23:41 -0500 (EST) To: postgresql@thomasbache.de Cc: pgsql-admin@postgresql.org Subject: Re: "too many clients" and no cure In-reply-to: <20041201161538.C5EBB6EC064@digi1.shellsystem.de> References: <20041201161538.C5EBB6EC064@digi1.shellsystem.de> Comments: In-reply-to postgresql@thomasbache.de message dated "Wed, 01 Dec 2004 17:15:38 +0100" Date: Wed, 01 Dec 2004 11:23:41 -0500 Message-ID: <8945.1101918221@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/19 X-Sequence-Number: 15605 postgresql@thomasbache.de writes: > I experience some trouble with my PG server. I get the error message > "too many clients". Ok, so I checked the manual and adjusted the > max_connections and shared_buffers, but still the server denies > access, if there are about 100 connections. I just recently increased > the shared buffers from 10000 to 50000 and the system shared memory > fom 128m to about 800m. Still the error occurs at 100 active > connections. It sounds like you forgot to restart the postmaster after changing postgresql.conf. This is one of the parameters that is frozen at server start ... regards, tom lane