After about two hours of hunting pecking and anything
else I found where you control this in OSX 10.3
you must edit the /etc/rc file.
/System/Library/StartupItems/SystemTuning/SystemTuning
does nothing....
now.. 7.4 RC2 make check only fails on the geometry
test....
type_sanity ... ok
opr_sanity ... ok
test geometry ... FAILED
test horology ... ok
test insert ... ok
test create_function_1 ... ok
test create_type ... ok
I hope if someone searches on OSX (OS X) SystemTuning
they find this....
edit rc... on about the second page you will find the
settings.
This is what I have and it is working... I don't
know if it is optimal..
Ted
# System tuning
sysctl -w kern.maxvnodes=$(echo $(sysctl -n
hw.physmem) '33554432 / 512 * 1024 +p'|dc)
sysctl -w kern.sysv.shmmax=167772160
sysctl -w kern.sysv.shmmin=1
sysctl -w kern.sysv.shmmni=32
sysctl -w kern.sysv.shmseg=8
sysctl -w kern.sysv.shmall=65536
--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Theodore Petrosky <tedpet5@yahoo.com> writes:
> > FATAL: could not create shared memory segment:
> Cannot
> > allocate memory
> > DETAIL: Failed system call was shmget(key=1,
> > size=1081344, 03600).
>
> You need to increase SHMMAX.
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please
> send an appropriate
> subscribe-nomail command to
> majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree