X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 24A529DC81E for ; Wed, 14 Dec 2005 18:38:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 10771-07 for ; Wed, 14 Dec 2005 18:38:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id A73EF9DC9D8 for ; Wed, 14 Dec 2005 18:38:04 -0400 (AST) 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 jBEMc5fI007428; Wed, 14 Dec 2005 17:38:05 -0500 (EST) To: "Tomeh, Husam" cc: pgsql-admin@postgresql.org Subject: Re: PG 8.1.1 Cannot allocate shared_buffers memory error In-reply-to: References: Comments: In-reply-to "Tomeh, Husam" message dated "Wed, 14 Dec 2005 14:08:58 -0800" Date: Wed, 14 Dec 2005 17:38:05 -0500 Message-ID: <7427.1134599885@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.002 required=5 tests=[AWL=0.002] X-Spam-Score: 0.002 X-Spam-Level: X-Archive-Number: 200512/131 X-Sequence-Number: 19851 "Tomeh, Husam" writes: > I just installed postgres 8.1.1 on a dual optron Linux box running Linux > 4 advanced server, with 32GB of RAM and 2GB of swap. > I'm trying to allocate 24 GB as shared_bufferes. I'm getting an error > that I can not allocate memory (see below). While this doesn't answer your question: why are you trying to do that? AFAIK there is no evidence whatever that that's a good idea. Try measuring performance at, say, 1Gb, 8Gb, 16Gb of shared buffers and see where the trend is going before you waste a lot of time fixing the kernel parameters. regards, tom lane