Will Dormann
Explorer
- Joined
- Feb 10, 2015
- Messages
- 61
Hi folks,
I've got a FreeNAS 9.3 (latest from December) machine that still occasionally panics. I ran into the panic in the past when the system only had 32GB of RAM. And based on some other threads I saw, I chalked it up as not having enough RAM. However, lately the system has had 256GB of RAM, and it just saw a panic yesterday (after being up for a month or so).
[root@HOSTNAME] /data/crash# less info.0
Dump header from device /dev/dumpdev
Architecture: amd64
Architecture Version: 1
Dump Length: 122368B (0 MB)
Blocksize: 512
Dumptime: Thu Jan 7 23:30:34 2016
Hostname: HOSTNAME
Magic: FreeBSD Text Dump
Version String: FreeBSD 9.3-RELEASE-p28 #0 r288272+f229c79: Sat Dec 12 11:58:01 PST 2015
root@build3.ixsystems.com:/tank/home/stable-builds/FN/objs/os-base/amd64/tank/home/stable-builds/FN/FreeBSD/src/syskmem_malloc(16777216): kmem_map too small: 158405312512 total allocated Panic String: kmem_malloc(16777216): kmem_map too small: 158405312512 total allocated
Dump Parity: 523755048
Bounds: 0
Dump Status: good
From the textdump:
panic: kmem_malloc(16777216): kmem_map too small: 158405312512 total allocated
cpuid = 13
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a/frame 0xfffffe3ffa9010e0
kdb_backtrace() at kdb_backtrace+0x37/frame 0xfffffe3ffa9011a0
panic() at panic+0x1ce/frame 0xfffffe3ffa9012a0
kmem_malloc() at kmem_malloc+0x23e/frame 0xfffffe3ffa901300
uma_large_malloc() at uma_large_malloc+0x4a/frame 0xfffffe3ffa901340
malloc() at malloc+0xd9/frame 0xfffffe3ffa901380
dmu_recv_stream() at dmu_recv_stream+0xc0/frame 0xfffffe3ffa901550
zfs_ioc_recv() at zfs_ioc_recv+0x381/frame 0xfffffe3ffa901790
zfsdev_ioctl() at zfsdev_ioctl+0x7c8/frame 0xfffffe3ffa901830
devfs_ioctl_f() at devfs_ioctl_f+0x7b/frame 0xfffffe3ffa9018a0
kern_ioctl() at kern_ioctl+0x106/frame 0xfffffe3ffa9018f0
sys_ioctl() at sys_ioctl+0xfd/frame 0xfffffe3ffa901950
amd64_syscall() at amd64_syscall+0x5ea/frame 0xfffffe3ffa901a70
Xfast_syscall() at Xfast_syscall+0xf7/frame 0xfffffe3ffa901a70
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x8019bb97c, rsp = 0x7fffffffa788, rbp = 0x1b ---
KDB: enter: panic
Is there some sort of tunable that I can set to prevent this from happening? Though to be honest, I would have expected the system to avoid this situation by default.
Thanks!
I've got a FreeNAS 9.3 (latest from December) machine that still occasionally panics. I ran into the panic in the past when the system only had 32GB of RAM. And based on some other threads I saw, I chalked it up as not having enough RAM. However, lately the system has had 256GB of RAM, and it just saw a panic yesterday (after being up for a month or so).
[root@HOSTNAME] /data/crash# less info.0
Dump header from device /dev/dumpdev
Architecture: amd64
Architecture Version: 1
Dump Length: 122368B (0 MB)
Blocksize: 512
Dumptime: Thu Jan 7 23:30:34 2016
Hostname: HOSTNAME
Magic: FreeBSD Text Dump
Version String: FreeBSD 9.3-RELEASE-p28 #0 r288272+f229c79: Sat Dec 12 11:58:01 PST 2015
root@build3.ixsystems.com:/tank/home/stable-builds/FN/objs/os-base/amd64/tank/home/stable-builds/FN/FreeBSD/src/syskmem_malloc(16777216): kmem_map too small: 158405312512 total allocated Panic String: kmem_malloc(16777216): kmem_map too small: 158405312512 total allocated
Dump Parity: 523755048
Bounds: 0
Dump Status: good
From the textdump:
panic: kmem_malloc(16777216): kmem_map too small: 158405312512 total allocated
cpuid = 13
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a/frame 0xfffffe3ffa9010e0
kdb_backtrace() at kdb_backtrace+0x37/frame 0xfffffe3ffa9011a0
panic() at panic+0x1ce/frame 0xfffffe3ffa9012a0
kmem_malloc() at kmem_malloc+0x23e/frame 0xfffffe3ffa901300
uma_large_malloc() at uma_large_malloc+0x4a/frame 0xfffffe3ffa901340
malloc() at malloc+0xd9/frame 0xfffffe3ffa901380
dmu_recv_stream() at dmu_recv_stream+0xc0/frame 0xfffffe3ffa901550
zfs_ioc_recv() at zfs_ioc_recv+0x381/frame 0xfffffe3ffa901790
zfsdev_ioctl() at zfsdev_ioctl+0x7c8/frame 0xfffffe3ffa901830
devfs_ioctl_f() at devfs_ioctl_f+0x7b/frame 0xfffffe3ffa9018a0
kern_ioctl() at kern_ioctl+0x106/frame 0xfffffe3ffa9018f0
sys_ioctl() at sys_ioctl+0xfd/frame 0xfffffe3ffa901950
amd64_syscall() at amd64_syscall+0x5ea/frame 0xfffffe3ffa901a70
Xfast_syscall() at Xfast_syscall+0xf7/frame 0xfffffe3ffa901a70
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x8019bb97c, rsp = 0x7fffffffa788, rbp = 0x1b ---
KDB: enter: panic
Is there some sort of tunable that I can set to prevent this from happening? Though to be honest, I would have expected the system to avoid this situation by default.
Thanks!