On 29.08.2013 17:35, Alexander wrote:
> in sysctl:
> kern.coredump: 1
> kern.corefile: /var/coredumps/%U.%N.%P.core
> 
> but coredump files not created.
> 
> How to set for creating core files?

You must add the following line to your /etc/rc.conf:
dumpdev="AUTO"

Also add this line to your /etc/sysctl.conf:
debug.debugger_on_panic=0

The core dump is written to the swap device when the crash occurs.
During the next boot, it's written to the specified kern.corefile path.

-- 
Jean-Sébastien Pédron

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to