Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 64A79632D5C for ; Sat, 1 May 2010 23:54:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 90700-08 for ; Sun, 2 May 2010 02:54:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 35CAF6324E0 for ; Sat, 1 May 2010 23:54:21 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o422sHKu029664; Sat, 1 May 2010 22:54:17 -0400 (EDT) To: Scott Marlowe cc: Gavin Kistner , pgsql-admin@postgresql.org Subject: Re: Fresh build on OS X not working (memory) In-reply-to: References: <88181C2E-01CD-417C-8266-D5C9AF570C27@mac.com> <15253.1272606140@sss.pgh.pa.us> Comments: In-reply-to Scott Marlowe message dated "Sat, 01 May 2010 20:28:00 -0600" Date: Sat, 01 May 2010 22:54:17 -0400 Message-ID: <29663.1272768857@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.874 tagged_above=-10 required=5 tests=AWL=0.036, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/9 X-Sequence-Number: 34482 Scott Marlowe writes: > On Thu, Apr 29, 2010 at 11:42 PM, Tom Lane wrote: >> OSX is *notoriously* unfriendly about configuring shm parameters. >> You look at it sidewise, it doesn't work, and generally won't tell >> you why it's refusing to talk to you.  We document a few of the known >> constraints in our manual, but I'm sure there are more. > The fact that they seem to change the needed magical incantations > every point release doesn't help things either. Actually, it appears they've finally reached a point of reasonable sanity in 10.6. It's still true that they reject non-page-multiple SHMMAX, instead of rounding to the next page boundary like everybody else does; but the old kluges whereby you could only set the values by waving a dead chicken in a specific fashion during boot seem to be mostly gone. I wasn't aware of this myself, not having experimented recently. regards, tom lane