How to enable coredumps for BIND?

ixbug at ixbug at
Sat Jan 26 12:25:24 UTC 2019


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:

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:

Creating a core file using "gcore <pid>" works.

I assume dumpon is not relevant for non-kernel dumps:
$ dumpon -l

used version: bind913-9.13.5_2 (no chroot)
FreeBSD 12

Any help is appreciated.

More information about the freebsd-questions mailing list