Bad default setting example: on #FreeBSD, core files are written in the working directory. Many daemons use "/nonexistent", so they cannot generate core files. So if they segfault, you won't have any idea why.
Add kern.corefile=/var/coredumps/%U/%N.core to /etc/sysctl.conf.