From owner-freebsd-questions@freebsd.org Thu Nov 17 01:07:18 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 CAEC6C41F9D for ; Thu, 17 Nov 2016 01:07:18 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from hz.citrin.ru (hz.citrin.ru [88.198.212.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 943001362 for ; Thu, 17 Nov 2016 01:07:18 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from x220.lan (c-24-60-168-172.hsd1.ct.comcast.net [24.60.168.172]) by hz.citrin.ru (Postfix) with ESMTPSA id E0F97286B03 for ; Thu, 17 Nov 2016 01:07:14 +0000 (UTC) Subject: Re: ntpd crashing unexpectedly (out of memory) To: freebsd-questions@freebsd.org References: <84a50eee-0bf1-c1d6-62c4-c9915ded3953@stuffbymatt.ca> From: Anton Yuzhaninov Message-ID: Date: Wed, 16 Nov 2016 20:07:13 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <84a50eee-0bf1-c1d6-62c4-c9915ded3953@stuffbymatt.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1479344835; bh=abxbZ/cS30zK01NuNg7/x4LVKp5elAC5p5VkEk5WZv8=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=4g+Ts9posa263b/EFEkl7RGDHHnXjtJZ5oCkoubcJmzGM2108GQQ5Yxo6JN2/bTHVN/PMucBPDdhPIgk+YcFiRB04/iMgF5HYocu5LcZ4/Cz0jVAxNqoGsUj//cFIvPg3XWu3kT1ymr4Rk2nGkry27p1ND9oVF9O/pq2Bw73MIQ= 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: Thu, 17 Nov 2016 01:07:18 -0000 On 11/16/16 11:14, Matt Adams wrote: > 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) It looks like a bug in ntpd (or somewhere else). Try to run it with ktrace -t+ and see what ntpd does right before issuing this error.