diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2014-02-12 14:19:19 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-02-13 14:37:08 +0100 |
commit | 343858fcb6af8451bba3ef3d780666e01d2ce7ad (patch) | |
tree | 34a66d866550ce61b6215557c3baa68d3c07d07a | |
parent | 032eeb4dd68bbacd78c677de37cc8a1642ec67ab (diff) | |
download | initscripts-343858fcb6af8451bba3ef3d780666e01d2ce7ad.tar initscripts-343858fcb6af8451bba3ef3d780666e01d2ce7ad.tar.gz initscripts-343858fcb6af8451bba3ef3d780666e01d2ce7ad.tar.bz2 initscripts-343858fcb6af8451bba3ef3d780666e01d2ce7ad.tar.xz initscripts-343858fcb6af8451bba3ef3d780666e01d2ce7ad.zip |
set shmmax and shmall defaults to match rhel6 values (#1056547)
-rw-r--r-- | sysctl.conf | 6 | ||||
-rw-r--r-- | sysctl.conf.s390 | 6 |
2 files changed, 12 insertions, 0 deletions
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 |