aboutsummaryrefslogtreecommitdiffstats
path: root/sysctl.conf
diff options
context:
space:
mode:
authorPetr Lautrbach <plautrba@redhat.com>2011-02-04 12:25:12 +0100
committerPetr Lautrbach <plautrba@redhat.com>2011-02-04 15:50:34 +0100
commitbd110c56497ba393e2fa860c5f1f30b1cffe5368 (patch)
tree8563306bda6218d614175603d66435ee93521049 /sysctl.conf
parent966c304456f23d7bb066cf7691eeacd33e3c3b60 (diff)
downloadinitscripts-bd110c56497ba393e2fa860c5f1f30b1cffe5368.tar
initscripts-bd110c56497ba393e2fa860c5f1f30b1cffe5368.tar.gz
initscripts-bd110c56497ba393e2fa860c5f1f30b1cffe5368.tar.bz2
initscripts-bd110c56497ba393e2fa860c5f1f30b1cffe5368.tar.xz
initscripts-bd110c56497ba393e2fa860c5f1f30b1cffe5368.zip
set default shmmax and shmall for certain architectures (#660036)
Diffstat (limited to 'sysctl.conf')
-rw-r--r--sysctl.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysctl.conf b/sysctl.conf
index 1711f1c4..86f18af5 100644
--- a/sysctl.conf
+++ b/sysctl.conf
@@ -26,3 +26,15 @@ net.ipv4.tcp_syncookies = 1
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
+
+# Controls the maximum size of a message, in bytes
+kernel.msgmnb = 65536
+
+# Controls the default maxmimum size of a mesage queue
+kernel.msgmax = 65536
+
+# Controls the maximum shared segment size, in bytes
+kernel.shmmax = 4294967295
+
+# Controls the maximum number of shared memory segments, in pages
+kernel.shmall = 268435456