pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomeh, Husam <htomeh@firstam.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: PG 8.1.1 Cannot allocate shared_buffers memory error
Date: Wed, 14 Dec 2005 17:38:05 -0500
Message-ID: <7427.1134599885@sss.pgh.pa.us> (raw)
In-Reply-To: <CB0FB369FF86E248A884BCC002562BCB19AD9B@pisgsna01sxch01.ana.firstamdata.com>
References: <CB0FB369FF86E248A884BCC002562BCB19AD9B@pisgsna01sxch01.ana.firstamdata.com>

"Tomeh, Husam" <htomeh@firstam.com> 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



view thread (4+ messages)  latest in thread

Message-ID: <7427.1134599885@sss.pgh.pa.us>
Permalink:  ../7427.1134599885@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7427.1134599885@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, htomeh@firstam.com
  Subject: Re: PG 8.1.1 Cannot allocate shared_buffers memory error
  In-Reply-To: <7427.1134599885@sss.pgh.pa.us>
  References: <CB0FB369FF86E248A884BCC002562BCB19AD9B@pisgsna01sxch01.ana.firstamdata.com> <7427.1134599885@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox