Re: SHMMAX seems entirely broken in OS X 10.4.2

From: "Luke Lonergan" <llonergan(at)greenplum(dot)com>
To: "Jeff Trout" <threshar(at)torgo(dot)978(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SHMMAX seems entirely broken in OS X 10.4.2
Date: 2005-08-30 15:45:40
Message-ID: BF39CD34.E97C%llonergan@greenplum.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jeff,

On 8/30/05 5:28 AM, "Jeff Trout" <threshar(at)torgo(dot)978(dot)org> wrote:

> Just ran software update and (besides a couple apps) it had a
> security update.

I just did that to test this.

> skittlebrau:~ postgres$ grep shm /etc/rc

Luke-Lonergans-Computer:~ lukelonergan$ cat /etc/sysctl.conf
kern.sysv.shmall=327680
kern.sysv.shmmax=335544320
#kern.sysv.shmall=268435456
#kern.sysv.shmmax=268435456

> skittlebrau:~ postgres$ sysctl -a | grep shm

Luke-Lonergans-Computer:~ lukelonergan$ sysctl -a | grep shm
kern.sysv.shmmax: 335544320
kern.sysv.shmmin: 1
kern.sysv.shmmni: 32
kern.sysv.shmseg: 8
kern.sysv.shmall: 327680

Thx for the tip.

I also tried different settings (shmall set to 500K) and shmmax ended up at
-1. So, it seems that shmall is in pages. I didn't try other allowable
configs, which was a problem before.

- Luke

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Browne 2005-08-30 16:45:18 Re: [Slony1-general] Re: dangling lock information?
Previous Message Tom Lane 2005-08-30 15:28:47 Re: 8.1beta, SunOS and shmget