From bd110c56497ba393e2fa860c5f1f30b1cffe5368 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Fri, 4 Feb 2011 12:25:12 +0100 Subject: set default shmmax and shmall for certain architectures (#660036) --- sysctl.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sysctl.conf') 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 -- cgit v1.2.1