From owner-freebsd-questions@freebsd.org Sat Jan 26 12:25:24 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4193A14C175D for ; Sat, 26 Jan 2019 12:25:24 +0000 (UTC) (envelope-from ixbug@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8DE277E08 for ; Sat, 26 Jan 2019 12:25:22 +0000 (UTC) (envelope-from ixbug@riseup.net) Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 9E3F01A0AC0 for ; Sat, 26 Jan 2019 04:25:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1548505514; bh=ENRPPo1arNhMJnj+Zox3wQSqmfO1IBRR/dfrUjaKsiQ=; h=To:From:Subject:Date:From; b=Cfcu6B9Jt6K3BJNN//iyc4aQv/kg6lY4+a1v1HFiubdsFkLLFOhbxFy9on3RXCa/k gv3gpsV99Wc9kBt4uWyXiXQRRl41ws90NXGrPPOKizLIOYVytUQycyhvS8FpRUzs+4 rNB338itIDOElR7K0eyLtaSjoRSHmwq3kjXkK/gQ= X-Riseup-User-ID: 398C4B73DD62127EBAE31C4586A4CE619E6F7018CB64F9ED7165F936B509ABD1 Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 468C24198D for ; Sat, 26 Jan 2019 04:25:12 -0800 (PST) To: freebsd-questions@freebsd.org From: ixbug@riseup.net Subject: How to enable coredumps for BIND? Message-ID: Date: Sat, 26 Jan 2019 12:25:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: A8DE277E08 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=Cfcu6B9J; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of ixbug@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ixbug@riseup.net X-Spamd-Result: default: False [-7.81 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[riseup.net:+]; MX_GOOD(-0.01)[mx1.riseup.net]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_SHORT(-0.93)[-0.934,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-3.76)[ip: (-9.88), ipnet: 198.252.153.0/24(-4.92), asn: 16652(-3.94), country: US(-0.08)]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[129.153.252.198.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[riseup.net.dwl.dnswl.org : 127.0.5.1]; FROM_NO_DN(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2019 12:25:24 -0000 Hello, since named crashes I'd like to enable core dumps for further analysis. I added this to my options section of named.conf: coresize unlimited; and restarted named. kern.corefile sysctl setting is: /tmp/%N.core but when I issue the following command to test if a core file gets created: # kill -6 no file is created in /tmp. "ulimit -c" output is: unlimited Creating a core file using "gcore " works. I assume dumpon is not relevant for non-kernel dumps: $ dumpon -l /dev/null used version: bind913-9.13.5_2 (no chroot) FreeBSD 12 Any help is appreciated.