I want to increase shared memory size. It seems to be too complicated as shown below.
https://developer.apple.com/forums/thread/669625
I just run the following command. Is it sufficient to increase the shared memory size? Why the option is not permitted for kern.sysv.shmmni=32
? Should it be kern.sysv.shmmin
?
$ sudo sysctl -w kern.sysv.shmmax=268435456 kern.sysv.shmmni=128 kern.sysv.shmseg=32 kern.sysv.shmall=65536
Password:
kern.sysv.shmmax: 4194304 -> 268435456
kern.sysv.shmmni: 32
sysctl: kern.sysv.shmmni=128: Operation not permitted
kern.sysv.shmseg: 8 -> 32
kern.sysv.shmall: 1024 -> 65536
What are the meaning of each parameters?