Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2016 09:14:00 -0700
From:      Matt Adams <matt@stuffbymatt.ca>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   ntpd crashing unexpectedly (out of memory)
Message-ID:  <84a50eee-0bf1-c1d6-62c4-c9915ded3953@stuffbymatt.ca>

Next in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?84a50eee-0bf1-c1d6-62c4-c9915ded3953>