From: Tom Lane <tgl@sss.pgh.pa.us>
To: CS DBA <cs_dba@consistentstate.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: FATAL: shmat(id=4096103) failed: Cannot allocate memory
Date: Tue, 13 Dec 2011 23:30:26 -0500
Message-ID: <27470.1323837026@sss.pgh.pa.us> (raw)
In-Reply-To: <4EE80396.6070903@consistentstate.com>
References: <4EE80396.6070903@consistentstate.com>
CS DBA <cs_dba@consistentstate.com> writes:
> I set postgres to use 2GB for shared_buffers and I get this when I try
> to start:
> FATAL: shmat(id=4096103) failed: Cannot allocate memory
> The only real difference from Fedora 14 is that on Fedora 16 I'm using
> the PAE kernel
That's not really surprising in a 32-bit environment --- you've only got
4GB of address space, in fact I think only 3GB in Linux, and that space
is kind of fragmented. Install 64-bit or back down shared_buffers to
1GB or so.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, cs_dba@consistentstate.com
Subject: Re: FATAL: shmat(id=4096103) failed: Cannot allocate memory
In-Reply-To: <27470.1323837026@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