FATAL: shmat(id=4096103) failed: Cannot allocate memory

From: CS DBA <cs_dba(at)consistentstate(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: FATAL: shmat(id=4096103) failed: Cannot allocate memory
Date: 2011-12-14 02:01:58
Message-ID: 4EE80396.6070903@consistentstate.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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
---------------------------------------------

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2011-12-14 04:30:26 Re: FATAL: shmat(id=4096103) failed: Cannot allocate memory
Previous Message Robert Matthew Cook 2011-12-13 17:39:55 PostgreSQL Schema Standards Tool