Date: Thu, 19 Sep 2019 11:30:12 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Cy Schubert <cy@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r352304 - in head: . usr.sbin/ntp usr.sbin/ntp/ntpd Message-ID: <4ccdcc18-6412-e606-4a74-314033a5f9c1@FreeBSD.org> In-Reply-To: <201909132020.x8DKK62j025066@repo.freebsd.org> References: <201909132020.x8DKK62j025066@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-09-13 22:20, Cy Schubert wrote: > Author: cy > Date: Fri Sep 13 20:20:05 2019 > New Revision: 352304 > URL: https://svnweb.freebsd.org/changeset/base/352304 > > Log: > No longer mlock() ntpd pages by default in memory thus allowing its > pages to page as necessary. > > To restore historic BSD behaviour add the following to ntp.conf: > rlimit memlock 32 Apparently this does not completely work, as I still see: ntpd[824]: ntpd 4.2.8p12-a (1): Starting ntpd[825]: Cannot set RLIMIT_MEMLOCK: Operation not permitted even while my ntp.conf is almost entirely vanilla (it only has a different "server" line). Even explicitly adding: rlimit memlock -1 does not work, it results in the same error. -Dimitry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ccdcc18-6412-e606-4a74-314033a5f9c1>