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.s390 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sysctl.conf.s390') diff --git a/sysctl.conf.s390 b/sysctl.conf.s390 index dc7d085a..acd133dd 100644 --- a/sysctl.conf.s390 +++ b/sysctl.conf.s390 @@ -19,6 +19,18 @@ kernel.core_uses_pid = 1 # Controls the use of TCP syncookies net.ipv4.tcp_syncookies = 1 +# 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 + # Do not spend as much process time too early to write out dirty pages vm.dirty_ratio = 40 -- cgit v1.2.1