howto increase shared memory segment limit

attila csaba marosi <[email protected]> Sun, 27 Nov 2005 12:19:40 +0100
Newsgroups gmane.os.opendarwin.general
Message-ID <[email protected]>
hello!

i need to increase the limit of the available shared
mem segments per process. it is limited to 8 ( os/x 10.3.9):

sajtgyar:~ atisu$ sysctl kern.sysv.shmseg
kern.sysv.shmseg: 8

and it's read-only :(

sajtgyar:/Users/atisu root# sysctl -w kern.sysv.shmseg=16
kern.sysv.shmseg: 8 -> 8

so i think the only way to do this is to compile a kernel,
which is a trivial process ( thanks to the documentations).
the only thing is that i don't know where/how to increase the
limit. ( is there a simple way to do this other than modifing
the source ?) any help would be appreciated.


thanks,
attila