X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsysctl.d%2Flocal-kernel-shm.conf;h=b94d01bbd424e0d3a7840effd351fa072831935d;hb=005768a07918915222b45759a91d2af203b98375;hp=700cc8544e753905bebd7edd5bf27bb9ae02743a;hpb=4856433be903ee078c1da1e4b7491968e66f6461;p=lhc%2Fateliers.git diff --git a/etc/sysctl.d/local-kernel-shm.conf b/etc/sysctl.d/local-kernel-shm.conf index 700cc85..b94d01b 100644 --- a/etc/sysctl.d/local-kernel-shm.conf +++ b/etc/sysctl.d/local-kernel-shm.conf @@ -1,3 +1,6 @@ # DOC: http://www.postgresql.org/docs/9.1/static/kernel-resources.html -kernel.shmmax = 17179869184 -kernel.shmall = 4194304 +kernel.shmall = 393216 + # NOTE: 1.5G en pages de (getconf PAGESIZE = 4096 octets) = 3 * (1024 * 1024 * 1024) / 2 / 4096 + # NOTE: kernel.shmall doit valoir au moins kernel.shmmax / 4096 +kernel.shmmax = 1073741824 + # NOTE: 1G en octets = 1 * (1024 * 1024 * 1024)