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

CS DBA cs_dba at consistentstate.com
Wed Dec 14 16:16:54 UTC 2011


On 12/14/2011 06:02 AM, Craig White wrote:
> On Tue, 2011-12-13 at 18:45 -0700, CS DBA wrote:
>> 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?
> ----
> with i686 and even with 8GB RAM and PAE kernel, you can't allocate a
> full 4 GB to anything - probably not even 3.5 GB.
With Fedora 14 (32bit - NOT PAE) I could allocate 2GB,
with Fedora 16 (32bit PAE) I could allocate 1GB but not 2GB

>
> BIOS, video hooks have to get memory and thus is not available to the
> running kernel.
>
> Suggest you allocate no more than 3GB of RAM or better yet, back your
> documents/configuration up and install 64 bit (86_64) and not have these
> issues.
I did just that, had to go back to Fedora 15 because the 
thunderbird-lightning package is not yet available for 16 and I use it 
all the time. Everything works as expected now...


> Craig
>
>



More information about the users mailing list