Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 58D929FB7FF for ; Thu, 21 Jun 2007 20:06:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 52861-10 for ; Thu, 21 Jun 2007 20:06:26 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E5DD89FB7E0 for ; Thu, 21 Jun 2007 20:06:25 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l5LN6Jaf008511; Thu, 21 Jun 2007 19:06:20 -0400 (EDT) To: Joe Barwell cc: pgsql-admin@postgresql.org Subject: Re: initdb problem In-reply-to: <467afe0c.3a8.5133.2003527541@ihug.co.nz> References: <467afe0c.3a8.5133.2003527541@ihug.co.nz> Comments: In-reply-to Joe Barwell message dated "Fri, 22 Jun 2007 10:39:08 +1200" Date: Thu, 21 Jun 2007 19:06:19 -0400 Message-ID: <8510.1182467179@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/226 X-Sequence-Number: 25894 Joe Barwell writes: > Fixing the postgres user's home may have been an > improvement, but now I get problems with the shared memory > segment: Hmm ... Apple's default for SHMMAX is definitely penurious, but it's not so small that PG shouldn't be able to start at all. What do you get from sysctl -a | grep shm ? If it shows shmmax as at least 4 million (as I expect), maybe there's something else already eating shmem --- try also sudo ipcs -a Also, which OSX release is this again? regards, tom lane