Re: SHMMAX seems entirely broken in OS X 10.4.2 - Mailing list pgsql-hackers

From Dave Cramer
Subject Re: SHMMAX seems entirely broken in OS X 10.4.2
Date
Msg-id 2B7DD8A0-6109-4AC6-A90A-3BD7388E9453@fastcrypt.com
Whole thread Raw
In response to Re: SHMMAX seems entirely broken in OS X 10.4.2  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
This is from my Powerbook

in /etc/rc

sysctl -w kern.sysv.shmmax=5120000 kern.sysv.shmmin=1  
kern.sysv.shmmni=32 kern.sysv.shmseg=8 kern.sysv.shmall=1024

I also had to up maxprocperuid to 200 to get buildfarm to run

I'm pretty sure shmall had to be increased to allow shmmax to be  
increased.


Dave
On 30-Aug-05, at 12:37 AM, Tom Lane wrote:

> Jeff - <threshar@torgo.978.org> writes:
>
>> On Aug 29, 2005, at 8:18 PM, Tom Lane wrote:
>>
>>> Has anyone been able to set kern.sysv.shmmax above 4MB at all in
>>> latest OS X?
>>>
>
>
>> yeah, you need to set shmmax and shmall.
>>
>
> Did that.  Set shmall first, shmall second, both together in one  
> sysctl
> command; no joy anywhere.  Are you trying this on fully up-to-date
> Tiger?
>
>             regards, tom lane
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
>



pgsql-hackers by date:

Previous
From: Mario Weilguni
Date:
Subject: Re: VACUUM/t_ctid bug (was Re: GiST concurrency commited)
Next
From: Hannu Krosing
Date:
Subject: Re: dangling lock information?