[ntp] increase memlock limit again
Miroslav Lichvar
mlichvar at fedoraproject.org
Thu Feb 26 14:51:17 UTC 2015
commit 71e78f11293df03c4666159b9bd2a3b0070869ef
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date: Thu Feb 26 15:29:43 2015 +0100
increase memlock limit again
ntp-4.2.6p5-mlock.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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");
}
More information about the scm-commits
mailing list