From owner-freebsd-questions@freebsd.org Thu Sep 2 20:32:57 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 A5BF7666999 for ; Thu, 2 Sep 2021 20:32:57 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (mail.geeks.org [IPv6:2001:4980:3333:1::1]) (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 4H0t0T04LMz3H5N for ; Thu, 2 Sep 2021 20:32:56 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id F14859D6B for ; Thu, 2 Sep 2021 15:32:49 -0500 (CDT) Received: by mail.geeks.org (Postfix, from userid 1003) id DA7D39DEA; Thu, 2 Sep 2021 15:32:49 -0500 (CDT) Date: Thu, 2 Sep 2021 15:32:49 -0500 From: Doug McIntyre To: freebsd-questions@freebsd.org Subject: Re: BIND 'max-cache-size' Value on FreeBSD-13.0 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4H0t0T04LMz3H5N X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of merlyn@geeks.org designates 2001:4980:3333:1::1 as permitted sender) smtp.mailfrom=merlyn@geeks.org X-Spamd-Result: default: False [-3.30 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[geeks.org]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7753, ipnet:2001:4980::/32, country:US]; RCVD_TLS_LAST(0.00)[]; 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 20:32:57 -0000 On Thu, Sep 02, 2021 at 10:13:23AM +0200, Mark Tinka wrote: > Ever since we moved from BIND-9.11 to BIND-9.16, we've been experiencing > 'named' crashing after 24hrs - 36hrs on high-load resolver-only servers, > running on FreeBSD-13.0. > We found that the reason for this was due to BIND running out of swap space. I remember a while back on an older specific version of BIND, that there was a memory cache leakage bug in BIND specificly on FreeBSD and no other OS; that I filed a ticket with ISC on. They were able to identify it and fix it on the next version. I'm running BIND 9.16 but still mostly back on FreeBSD 12.2.