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

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to