29.08.2013 18:39, Jean-Sébastien Pédron пишет: > 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. > I have swapinfo on zfs partition swapinfo -h Device 512-blocks Used Avail Capacity /dev/zvol/zroot/swap 16777216 0B 8.0G 0% ls -la /dev/zvol/zroot/swap crw-r----- 1 root operator 0x8b 29 авг 23:27 /dev/zvol/zroot/swap in /etc/rc.conf dumpdev="AUTO" dumpon_enable="YES" in /etc/sysctl.conf # CoreDump kern.coredump=1 kern.corefile=/var/coredumps/%U.%N.%P.core kern.sugid_coredump=1 When system booting, on console No suitable dump device was found. During the next boot, coredump not created. :(Received on Thu Aug 29 2013 - 15:52:16 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC