One of my servers crashed shortly after logging a read error on an NVMe drive used for ZFS L2 ARC. I presume the read error caused a panic, although I don't quite understand why that would happen (L2 ARC is expendable data, so ZFS should just fault the device and continue?)
I have dumpdev="AUTO" set in rc.conf but there's no vmcore files in /var/crash.
I thought at first it was because it wanted to dump the entire 64GB physical RAM to swap (which is only a 2GB partition), but the FreeBSD handbook says Minidumps ... "Hold only memory pages in use by the kernel (FreeBSD 6.2 and higher)" ... "Minidumps are the default dump type as of FreeBSD 7.0"
I'm having some trouble determining how much memory "in use by the kernel" might be under amd64. What should I increase the swap size to in order tosuccessfullyreliably dump?
FreeBSD 12.1-RELEASE r354358 (amd64)
Thanks.
I have dumpdev="AUTO" set in rc.conf but there's no vmcore files in /var/crash.
I thought at first it was because it wanted to dump the entire 64GB physical RAM to swap (which is only a 2GB partition), but the FreeBSD handbook says Minidumps ... "Hold only memory pages in use by the kernel (FreeBSD 6.2 and higher)" ... "Minidumps are the default dump type as of FreeBSD 7.0"
I'm having some trouble determining how much memory "in use by the kernel" might be under amd64. What should I increase the swap size to in order to
FreeBSD 12.1-RELEASE r354358 (amd64)
Thanks.