Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 190641C7037E for ; Tue, 13 Dec 2011 22:02:18 -0400 (AST) Received: from mail-yw0-f46.google.com ([209.85.213.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RaeAg-0007rF-UC for pgsql-admin@postgresql.org; Wed, 14 Dec 2011 02:02:18 +0000 Received: by yhr47 with SMTP id 47so951023yhr.19 for ; Tue, 13 Dec 2011 18:02:02 -0800 (PST) Received: by 10.236.123.108 with SMTP id u72mr8004395yhh.45.1323828122317; Tue, 13 Dec 2011 18:02:02 -0800 (PST) Received: from Issac.consistentstate.com (c-67-165-192-103.hsd1.co.comcast.net. [67.165.192.103]) by mx.google.com with ESMTPS id 37sm2688734anu.21.2011.12.13.18.01.59 (version=SSLv3 cipher=OTHER); Tue, 13 Dec 2011 18:02:01 -0800 (PST) Message-ID: <4EE80396.6070903@consistentstate.com> Date: Tue, 13 Dec 2011 19:01:58 -0700 From: CS DBA User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: FATAL: shmat(id=4096103) failed: Cannot allocate memory Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201112/71 X-Sequence-Number: 38829 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 ---------------------------------------------