[postgis-users] shared memory on mac osx 10.5

Kurt Schwehr schwehr at ccom.unh.edu
Wed Jan 9 11:47:39 PST 2008


Thanks William and Ries!  I'm working on a blog post that goes through 
the whole process (for my specific case) and I will have it up in a few 
hours at http://schwehr.org/blog .  I've got postgresql working wihtout 
a warning using this /etc/sysctl.conf file:

 cat /etc/sysctl.conf
# These values are to support postgresql
# See also: 
http://wiki.finkproject.org/index.php/Shared_Memory_Regions_on_Darwin
# See also: man sysctl.conf
kern.sysv.shmmax=16777216
kern.sysv.shmmin=1
kern.sysv.shmmni=64
kern.sysv.shmseg=8
kern.sysv.shmall=32768

-kurt

> I was talking about this with someone a while back RE my 
> postgres/postgis binaries.  It appears that Leopard doesn't use 
> /etc/rc any more (the usual way I've seen to configure sysctl, I 
> didn't know about sysctl.conf).
>
> From our discussion, sysctl.conf turned out to be the way to go on 
> Leopard.
>
>
> On Jan 9, 2008, at 11:26 AM, Kurt Schwehr wrote:
>
>> Hi All,
>>
>> I've had this figured out on mac osx 10.4 without any trouble, but on 
>> 10.5 what is the/a proper way to setup shared memory for postgresql?
>>
>> I'm goint to try creating an /etc/sysctl.conf, but figured I'd ask 
>> first to see if there is some other route to this.
>>
>> http://wiki.finkproject.org/index.php/Shared_Memory_Regions_on_Darwin
>>
>> And, I've got libgeos2 building on 10.5 with fink, so that I can get 
>> back to postgis development...
>>
>> http://vislab-ccom.unh.edu/~schwehr/software/fink/libgeos2.info 
>> <http://vislab-ccom.unh.edu/%7Eschwehr/software/fink/libgeos2.info>
>>
>> Thanks,
>> -kurt
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "We are at war with them. Neither in hatred nor revenge and with no 
> particular pleasure I shall kill every ___ I can until the war is 
> over. That is my duty."
>
> "Don't you even hate 'em?"
>
> "What good would it do if I did? If all the many millions of people of 
> the allied nations devoted an entire year exclusively to hating the 
> ____ it wouldn't kill one ___ nor shorten the war one day."
>
> <Ha, ha> "And it might give 'em all stomach ulcers."
>
> - Tarzan, on war
>




More information about the postgis-users mailing list