From baa8960257e4beec0bd04a2cfdced66a736b229f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com> Date: Tue, 15 Jan 2013 21:32:31 +0100 Subject: [PATCH] Set semaphore limits --- slapprepare/slapprepare/script/slapos | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slapprepare/slapprepare/script/slapos b/slapprepare/slapprepare/script/slapos index 36edd27..8294607 100755 --- a/slapprepare/slapprepare/script/slapos +++ b/slapprepare/slapprepare/script/slapos @@ -157,6 +157,8 @@ systemctl start slapos-node.service # Increase default aio-max-nr for sql servers sysctl -w fs.aio-max-nr=16777216 +# Increase semaphore limits +sysctl -w kernel.sem="1250 256000 100 1024" # Enable noop scheduler for disk which have SLAPOS labeled partition disk=`blkid -L SLAPOS | sed -r -e 's/(\/dev\/|[0-9]*$)//g'` -- 2.30.9