Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2019 12:25:00 +0000
From:      ixbug@riseup.net
To:        freebsd-questions@freebsd.org
Subject:   How to enable coredumps for BIND?
Message-ID:  <c9b5c0b7-6713-fd9f-e57f-f406afdfc032@riseup.net>

next in thread | raw e-mail | index | archive | help
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 <PID of named>

no file is created in /tmp.

"ulimit -c" output is:
unlimited

Creating a core file using "gcore <pid>" 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c9b5c0b7-6713-fd9f-e57f-f406afdfc032>