mlichvar pushed to ntp (f21). "increase memlock limit again"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 8 11:46:33 UTC 2015


>From 71e78f11293df03c4666159b9bd2a3b0070869ef Mon Sep 17 00:00:00 2001
From: Miroslav Lichvar <mlichvar at redhat.com>
Date: Thu, 26 Feb 2015 15:29:43 +0100
Subject: increase memlock limit again


diff --git a/ntp-4.2.6p5-mlock.patch b/ntp-4.2.6p5-mlock.patch
index 3a72bd9..ba04c54 100644
--- a/ntp-4.2.6p5-mlock.patch
+++ b/ntp-4.2.6p5-mlock.patch
@@ -37,7 +37,7 @@ diff -up ntp-4.2.6p5/ntpd/ntpd.c.mlock ntp-4.2.6p5/ntpd/ntpd.c
  	     * has to be larger than the largest ntpd resident set size.
  	     */
 -	    rl.rlim_cur = rl.rlim_max = 32*1024*1024;
-+	    rl.rlim_cur = rl.rlim_max = 64*1024*1024;
++	    rl.rlim_cur = rl.rlim_max = 128*1024*1024;
  	    if (setrlimit(RLIMIT_MEMLOCK, &rl) == -1) {
  		msyslog(LOG_ERR, "Cannot set RLIMIT_MEMLOCK: %m");
  	    }
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/ntp.git/commit/?h=f21&id=71e78f11293df03c4666159b9bd2a3b0070869ef


More information about the scm-commits mailing list