From owner-freebsd-questions@freebsd.org Wed Nov 16 16:16:40 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A040C45A40 for ; Wed, 16 Nov 2016 16:16:40 +0000 (UTC) (envelope-from matt@stuffbymatt.ca) Received: from li134-142.members.linode.com (radicaldynamic.com [69.164.219.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.radicaldynamic.com", Issuer "StartCom Class 1 DV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC5C1F9E for ; Wed, 16 Nov 2016 16:16:39 +0000 (UTC) (envelope-from matt@stuffbymatt.ca) Received: from marvin.adams.home (d137-186-86-15.abhsia.telus.net [137.186.86.15]) (authenticated bits=0) by li134-142.members.linode.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id uAGGE60u023956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 16 Nov 2016 16:14:16 GMT To: "freebsd-questions@freebsd.org" From: Matt Adams Subject: ntpd crashing unexpectedly (out of memory) Message-ID: <84a50eee-0bf1-c1d6-62c4-c9915ded3953@stuffbymatt.ca> Date: Wed, 16 Nov 2016 09:14:00 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2016 16:16:40 -0000 Hi - I've got two computers running 11.0-RELEASE-p3 - they have a nearly identical configuration and set of packages. Both computers are running the GENERIC amd64 kernel (FreeBSD 11.0-RELEASE-p2). On computer "A" ntpd starts and runs just fine. On computer "B" ntpd starts but then dies with an "out of memory" error. Here is the output: root@B:~ # ntpd -4Lnd 16 Nov 09:04:33 ntpd[1122]: ntpd 4.2.8p8-a (1): Starting 16 Nov 09:04:33 ntpd[1122]: Command line: ntpd -4Lnd 16 Nov 09:04:33 ntpd[1122]: proto: precision = 0.183 usec (-22) 16 Nov 09:04:33 ntpd[1122]: restrict: ignoring line 48, mask '::' unusable. 16 Nov 09:04:33 ntpd[1122]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash signature 16 Nov 09:04:33 ntpd[1122]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=2017-06-01T00:00:00Z last=2017-01-01T00:00:00Z ofs=37 16 Nov 09:04:33 ntpd[1122]: Listen and drop on 0 v4wildcard 0.0.0.0:123 16 Nov 09:04:33 ntpd[1122]: Listen normally on 1 em0 192.168.1.209:123 16 Nov 09:04:33 ntpd[1122]: Listen normally on 2 lo0 127.0.0.1:123 16 Nov 09:04:33 ntpd[1122]: Listening on routing socket on fd #23 for interface updates ntpd: clnt_dg_create: out of memory (null) ntpd: clnt_dg_create: out of memory -- --- --:--:-- ntpd[1122]: fatal out of memory (64 bytes) For the life of me I cannot figure out why ntpd refuses to run on computer "B." Has anyone seen anything like this before? Any ideas on where I should start looking? Thanks, Matt