From owner-freebsd-questions@freebsd.org Thu Sep 2 17:53:52 2021 Return-Path: Delivered-To: freebsd-questions@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 07E6366375A for ; Thu, 2 Sep 2021 17:53:52 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4H0pSt4m2Hz3m6Y for ; Thu, 2 Sep 2021 17:53:50 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 0491F42C25; Thu, 2 Sep 2021 17:53:50 +0000 (UTC) Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.16.1/8.16.1) with ESMTPS id 182HrnRo073290 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 2 Sep 2021 17:53:49 GMT (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.16.1/8.16.1/Submit) with ESMTP id 182Hrn5X073287; Thu, 2 Sep 2021 17:53:49 GMT (envelope-from doug@fledge.watson.org) Date: Thu, 2 Sep 2021 17:53:49 +0000 (UTC) From: doug Reply-To: doug@safeport.com To: Mark Tinka cc: freebsd-questions@freebsd.org Subject: Re: BIND 'max-cache-size' Value on FreeBSD-13.0 In-Reply-To: <432ec6e9-bcb7-b933-006f-a0accc2be6fb@tinka.africa> Message-ID: References: <57a5c2ef-87c1-dd1a-775e-acae89b0bbbc@FreeBSD.org> <432ec6e9-bcb7-b933-006f-a0accc2be6fb@tinka.africa> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4H0pSt4m2Hz3m6Y X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of doug@fledge.watson.org has no SPF policy when checking 204.107.128.30) smtp.mailfrom=doug@fledge.watson.org X-Spamd-Result: default: False [-1.00 / 15.00]; HAS_REPLYTO(0.00)[doug@safeport.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[watson.org]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; CTYPE_MIXED_BOGUS(1.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:11288, ipnet:204.107.128.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2021 17:53:52 -0000 On Thu, 2 Sep 2021, Mark Tinka wrote: > On 9/2/21 10:32, Matthew Seaman wrote: > >> >> Hmmm.... unlike many big opensource groups, ISC has traditionally used >> FreeBSD extensively as a development platform, so they should be on >> top of the differences between FreeBSD and Linux with regard to memory >> management. >> >> You've clearly got some sort of memory leak, which you are attributing >> to bind not managing its cache correctly.  I think that may possibly >> be a red-herring, and the leak is occurring in some other aspect of >> bind operation.  But what that might be I have no idea. >> >> I suggest asking on the bind-users@lists.isc.org mailing list, as >> that's where the ISC devs and many bind specialists hang out. > > Thanks, Matthew. > > I'll try on the BIND list as well. > > Mark. > _______________________________________________ > Have you checked for disk errors? From owner-freebsd-questions@freebsd.org Thu Sep 2 19:17:38 2021 Return-Path: Delivered-To: freebsd-questions@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 3C64B664B8B for ; Thu, 2 Sep 2021 19:17:38 +0000 (UTC) (envelope-from mark@tinka.africa) Received: from the-host.tinka.africa (the-host.tinka.africa [105.22.37.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4H0rKX52yVz4fJc for ; Thu, 2 Sep 2021 19:17:36 +0000 (UTC) (envelope-from mark@tinka.africa) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tinka.africa; s=tinka; h=Content-Transfer-Encoding:Content-Type:In-Reply-To :MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=rq8yo+KFEBaPKAe1YWsUfzwSfwM5imkSdpOCB2baguk=; b=fTeO7sBMia3dsCKMtazKMvERLO S89tAyoB3r+Z2w8slfCVWZvKIpuVqwFRDuLoBdTX5DNbJEnEtVYdHu+nsLQIwgD2adA2H+w0yYBfj Z4786t+/7rBiVlNadygiWBAtMSad7yA3JSB7LFaL8j9sZY0/tJ1gG629/3DWnosBi0lhfr7EWZ6pC hRUdbKmeW4bKjRL21WsLSE3GzyFoeuKsiy4G9ZNFLaC+0vvK0iV3Z4MIdSzXYpv/Wr0S+/3NV8SHT maVdG8FqZ7l6Z3DXMpKsQF1qbzIp/ypr0g0XzWX0I7bKF71QzbuAWicKK8sA9btG5nBsoILcbKOBD hUaAC+NA==; Received: from [127.0.0.1] (helo=Marks-MacBook-Pro.local) by the-host.tinka.africa with esmtp (Exim 4.94) (envelope-from ) id QYTMX6-0004VO-JN; Thu, 02 Sep 2021 21:17:30 +0200 Subject: Re: BIND 'max-cache-size' Value on FreeBSD-13.0 To: doug@safeport.com Cc: freebsd-questions@freebsd.org References: <57a5c2ef-87c1-dd1a-775e-acae89b0bbbc@FreeBSD.org> <432ec6e9-bcb7-b933-006f-a0accc2be6fb@tinka.africa> From: Mark Tinka Message-ID: <63f0861f-3b81-804c-990b-6c214d71ff30@tinka.africa> Date: Thu, 2 Sep 2021 21:17:29 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4H0rKX52yVz4fJc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tinka.africa header.s=tinka header.b=fTeO7sBM; dmarc=pass (policy=none) header.from=tinka.africa; spf=pass (mx1.freebsd.org: domain of mark@tinka.africa designates 105.22.37.14 as permitted sender) smtp.mailfrom=mark@tinka.africa X-Spamd-Result: default: False [-3.00 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tinka.africa:s=tinka]; FREEFALL_USER(0.00)[mark]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:105.22.37.14]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[tinka.africa:+]; RCPT_COUNT_TWO(0.00)[2]; HFILTER_HELO_2(1.00)[the-host.tinka.africa]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[tinka.africa,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:37100, ipnet:105.16.0.0/12, country:MU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2021 19:17:38 -0000 On 9/2/21 19:53, doug wrote: > Have you checked for disk errors? It's running on a VM with ample resources. No disk issues. I've had the issue happen on another box on a VM in another city too, same deal. This only happens on name servers under load. Mark.