FATAL: shmat(id=4096103) failed: Cannot allocate memory - Mailing list pgsql-admin

From CS DBA
Subject FATAL: shmat(id=4096103) failed: Cannot allocate memory
Date
Msg-id 4EE80396.6070903@consistentstate.com
Whole thread Raw
Responses Re: FATAL: shmat(id=4096103) failed: Cannot allocate memory  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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
---------------------------------------------


pgsql-admin by date:

Previous
From: Jan-Peter.Seifert@gmx.de
Date:
Subject: Re: Number of connections still limited on Windows 64-bit?
Next
From: Tom Lane
Date:
Subject: Re: FATAL: shmat(id=4096103) failed: Cannot allocate memory