loader interfaces. The following
parameters can be set using sysctl:
-
$ systcl -w kern.ipc.shmall=32768
-
$ systcl -w kern.ipc.shmmax=134217728
-
$ systcl -w kern.ipc.semmap=256
+
$ sysctl -w kern.ipc.shmall=32768
+
$ sysctl -w kern.ipc.shmmax=134217728
+
$ sysctl -w kern.ipc.semmap=256
To have these settings persist over reboots, modify
/etc/sysctl.conf.
and explicitly set the maximum total shared memory size to 2097152
pages (the default):
-
$ systcl -w kernel.shmmax=134217728
-
$ systcl -w kernel.shmall=2097152
+
$ sysctl -w kernel.shmmax=134217728
+
$ sysctl -w kernel.shmall=2097152
In addition these settings can be saved between reboots in
/etc/sysctl.conf.