From owner-svn-src-all@freebsd.org Thu Sep 19 09:35:51 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DA97CFC71B; Thu, 19 Sep 2019 09:35:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from springbank.echomania.com (springbank.echomania.com [IPv6:2a01:7c8:aab2:81::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "springbank.echomania.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46YsCq40WTz4TD6; Thu, 19 Sep 2019 09:35:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) X-Virus-Scanned: Debian amavisd-new at springbank.echomania.com Received: from [IPv6:2001:470:7a58:0:7545:d8b0:a999:1ee] (unknown [IPv6:2001:470:7a58:0:7545:d8b0:a999:1ee]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by springbank.echomania.com (Postfix) with ESMTPSA id 136F8580190; Thu, 19 Sep 2019 11:30:13 +0200 (CEST) Subject: Re: svn commit: r352304 - in head: . usr.sbin/ntp usr.sbin/ntp/ntpd To: Cy Schubert , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201909132020.x8DKK62j025066@repo.freebsd.org> From: Dimitry Andric Message-ID: <4ccdcc18-6412-e606-4a74-314033a5f9c1@FreeBSD.org> Date: Thu, 19 Sep 2019 11:30:12 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <201909132020.x8DKK62j025066@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46YsCq40WTz4TD6 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.98)[-0.983,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:20857, ipnet:2a01:7c8::/32, country:NL] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2019 09:35:51 -0000 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