From: CS DBA <cs_dba@consistentstate.com>
To: pgsql-admin@postgresql.org
Subject: FATAL: shmat(id=4096103) failed: Cannot allocate memory
Date: Tue, 13 Dec 2011 19:01:58 -0700
Message-ID: <4EE80396.6070903@consistentstate.com> (raw)
Hi All;
I just installed Fedora 16, I was running fedora 14.
I installed Postgresql from source and set SHMMAX to 2198066816
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
Here's my current SHM kernel settings:
# sysctl -a | grep -i shm
kernel.shmmax = 2198066816
kernel.shmall = 2198066816
kernel.shmmni = 4096
kernel.shm_rmid_forced = 0
vm.hugetlb_shm_group = 0
Thoughts?
Thanks in advance
--
---------------------------------------------
Kevin Kempter - Constent State
A PostgreSQL Professional Services Company
www.consistentstate.com
---------------------------------------------
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: cs_dba@consistentstate.com
Subject: Re: FATAL: shmat(id=4096103) failed: Cannot allocate memory
In-Reply-To: <4EE80396.6070903@consistentstate.com>
* 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