pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gavin Kistner <phrogz@mac.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Fresh build on OS X not working (memory)
Date: Thu, 29 Apr 2010 23:58:54 -0600
Message-ID: <BC88739D-8F46-4750-ADBA-C6F170EC412C@mac.com> (raw)
In-Reply-To: <15253.1272606140@sss.pgh.pa.us>
References: <88181C2E-01CD-417C-8266-D5C9AF570C27@mac.com>
	<15253.1272606140@sss.pgh.pa.us>

On Apr 29, 2010, at 11:42 PM, Tom Lane wrote:
> For comparison, I have these settings on my laptop:
> 
> pro:~ tgl$ cat /etc/sysctl.conf 
> kern.sysv.shmmax=33554432
> kern.sysv.shmmin=1
> kern.sysv.shmmni=32
> kern.sysv.shmseg=8
> kern.sysv.shmall=8192
> 
> and PG starts fine for me.

I'm not sure what magic you have in there, but this incantation copied verbatim worked for me. Thanks!

The first sysctl.conf I tried that didn't work from from the one-click installer's README. Do you see anything about the following settings that jumps out at you as bad? Is it notable that yours don't set the maxproc*?

kern.sysv.shmmax=1610612736
kern.sysv.shmall=393216
kern.sysv.shmmin=1
kern.sysv.shmmni=32
kern.sysv.shmseg=8
kern.maxprocperuid=512
kern.maxproc=2048




view thread (10+ messages)  latest in thread

Message-ID: <BC88739D-8F46-4750-ADBA-C6F170EC412C@mac.com>
Permalink:  ../BC88739D-8F46-4750-ADBA-C6F170EC412C@mac.com/
Also on:    postgresql.org/message-id/BC88739D-8F46-4750-ADBA-C6F170EC412C@mac.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: phrogz@mac.com, tgl@sss.pgh.pa.us
  Subject: Re: Fresh build on OS X not working (memory)
  In-Reply-To: <BC88739D-8F46-4750-ADBA-C6F170EC412C@mac.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox