From 343858fcb6af8451bba3ef3d780666e01d2ce7ad Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Wed, 12 Feb 2014 14:19:19 +0100 Subject: set shmmax and shmall defaults to match rhel6 values (#1056547) --- sysctl.conf | 6 ++++++ sysctl.conf.s390 | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/sysctl.conf b/sysctl.conf index f8484efa..fe02481f 100644 --- a/sysctl.conf +++ b/sysctl.conf @@ -7,3 +7,9 @@ net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 0 + +# Controls the maximum shared segment size, in bytes +kernel.shmmax = 4294967295 + +# Controls the maximum number of shared memory segments, in pages +kernel.shmall = 268435456 \ No newline at end of file diff --git a/sysctl.conf.s390 b/sysctl.conf.s390 index 12ae2846..03ccfd33 100644 --- a/sysctl.conf.s390 +++ b/sysctl.conf.s390 @@ -15,3 +15,9 @@ kernel.sched_min_granularity_ns = 10000000 kernel.sched_wakeup_granularity_ns = 15000000 kernel.sched_tunable_scaling = 0 kernel.sched_latency_ns = 80000000 + +# Controls the maximum shared segment size, in bytes +kernel.shmmax = 4294967295 + +# Controls the maximum number of shared memory segments, in pages +kernel.shmall = 268435456 \ No newline at end of file -- cgit v1.2.1