Re: zfs recv hangs in kmem arena

From: Xin Li <delphij_at_delphij.net>
Date: Thu, 16 Oct 2014 21:10:27 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 10/16/14 8:43 PM, James R. Van Artsdalen wrote:
> On 10/16/2014 11:12 AM, Xin Li wrote:
>>> On 9/26/2014 1:42 AM, James R. Van Artsdalen wrote:
>>>> FreeBSD BLACKIE.housenet.jrv 10.1-BETA2 FreeBSD 10.1-BETA2
>>>> #2 r272070M: Wed Sep 24 17:36:56 CDT 2014 
>>>> james_at_BLACKIE.housenet.jrv:/usr/obj/usr/src/sys/GENERIC
>>>> amd64
>>>> 
>>>> With current STABLE10 I am unable to replicate a ZFS pool
>>>> using zfs send/recv without zfs hanging in state "kmem
>>>> arena", within the first 4TB or so (of a 23TB Pool).
> 
>> What does procstat -kk 1176 (or the PID of your 'zfs' process
>> that stuck in that state) say?
>> 
>> Cheers,
>> 
> SUPERTEX:/root# ps -lp 866 UID PID PPID CPU PRI NI   VSZ   RSS
> MWCHAN   STAT TT      TIME COMMAND 0 866  863   0  52  0 66800
> 29716 kmem are D+    1  57:40.82 zfs recv -duvF BIGTOX 
> SUPERTEX:/root# procstat -kk 866 PID    TID COMM             TDNAME
> KSTACK 866 101573 zfs              -                mi_switch+0xe1 
> sleepq_wait+0x3a _cv_wait+0x16d vmem_xalloc+0x568 vmem_alloc+0x3d 
> kmem_malloc+0x33 keg_alloc_slab+0xcd keg_fetch_slab+0x151 
> zone_fetch_slab+0x7e zone_import+0x40 uma_zalloc_arg+0x34e 
> arc_get_data_buf+0x31a arc_buf_alloc+0xaa dmu_buf_will_fill+0x169 
> dmu_write+0xfc dmu_recv_stream+0xd40 zfs_ioc_recv+0x94e 
> zfsdev_ioctl+0x5ca

Do you have any special tuning in your /boot/loader.conf?

Cheers,

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJUQJazAAoJEJW2GBstM+ns6dQQAK4NM6X40d7tS7pqoTQvZbrD
U0u5kid703tWgAlSFzvORxeOEB94BxcHu/z1a68nGhUlL2kip8SirWV9A1rqBpes
i4T6asHYTcFj4OvaPfSoA7lSVsZIaLK+RscraN1b7hehSG9UExeYF8D7cRIguhoa
1Gnlv5iZZkjJZGjR0R6DmxC8C1CyNxAZBXnj1L+ofpgUzqH0Rw2TCW1XVKqMcxvI
5lpt+V0uu7MPNgjzgVy/1z5ZD2SUBPco0eHuN/Npj0c6HkmHkoWqd53vxrBhlyCP
eDbzLw7QTO7PaV5hAuC9y9/X1JGlmTVa0GP2irKuE5t1bAbVwUPQqpn+iiFs1Le8
34fL/jkCeSBY6voYYj100CBU1/1mZOh93wuY6FdMVWPJp/bsjbDUtKZUmosGU86j
ZMikfVNl5Jc5dmH30JGFCDOWzfaFq+V34toSfYIihaBQPyFov0Mr7De5MvQ7VJ7D
qiXDcfAXE99CXzAboYpruwrbxyxTqhUmXlWp2uCPqvmo0WhVUsROmhhXhWXkG3tS
S7L0n4X8kgklveirZWq/oDsg4JXNTP2ernNdAYyhD7TbG/N4INdFaVuqZkDVDgny
ibwY0HEzg2zskJOJBqr9a21fZx6c2dvJ1n+j5BaAq6ve2Hw2NyvUVWfMTknp4I8j
t/JJtsDNs9xokH/veS3J
=aBKI
-----END PGP SIGNATURE-----
Received on Fri Oct 17 2014 - 02:10:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:53 UTC