FATAL: shmat(id=4096103) failed: Cannot allocate memory
CS DBA
cs_dba at consistentstate.com
Wed Dec 14 01:54:30 UTC 2011
On 12/13/2011 06:51 PM, Reindl Harald wrote:
>
> Am 14.12.2011 02:45, schrieb CS DBA:
>> 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
>> Thoughts?
> /etc/sysctl.conf -> kernel.shmall
>
>
>
>
I set shmall to the same as shmmax, it didnt help
root at Issac # sysctl -a | grep -i shm
kernel.shmmax = 2198066816
kernel.shmall = 2198066816
kernel.shmmni = 4096
kernel.shm_rmid_forced = 0
vm.hugetlb_shm_group = 0
I have 8GB of ram and I'm using the following kernel:
# uname -a
Linux Issac.consistentstate.com 3.1.5-1.fc16.i686.PAE #1 SMP Fri Dec 9
18:02:46 UTC 2011 i686 i686 i386 GNU/Linux
--
---------------------------------------------
Kevin Kempter - Constent State
A PostgreSQL Professional Services Company
www.consistentstate.com
---------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20111213/cec024fa/attachment.html>
More information about the users
mailing list