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 B853CD1B55A for ; Mon, 26 Jul 2004 02:25:25 -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 69753-09 for ; Mon, 26 Jul 2004 05:25:28 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 4E2CCD1B54D for ; Mon, 26 Jul 2004 02:25:21 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i6Q5O5We019183; Mon, 26 Jul 2004 01:24:05 -0400 (EDT) To: Gaetano Mendola Cc: Pavel Veretennikov , "pgsql-admin@postgresql.org" Subject: Re: could not fork new process for connection: Cannot allocate memory In-reply-to: <41043D33.7070806@bigfoot.com> References: <41043D33.7070806@bigfoot.com> Comments: In-reply-to Gaetano Mendola message dated "Mon, 26 Jul 2004 01:07:31 +0200" Date: Mon, 26 Jul 2004 01:24:04 -0400 Message-ID: <19182.1090819444@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/291 X-Sequence-Number: 14359 Gaetano Mendola writes: > Pavel Veretennikov wrote: > | What could be a problem? About 3G of shared memory is allocated to PG, > | 850000 shared_buffers. > I don't know what you problem can be but are you sure you need that > *very huge* ammount of shared memory ? Conventional wisdom is that setting shared_buffers higher than a few tens of thousands is a bad idea, no matter how much RAM you have. See the pgsql-performance archives. regards, tom lane