Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2023 07:58:49 +1100
From:      Trev <freebsd-stable1@sentry.org>
To:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: ZFS high CPU use after backup and panic on shutdown
Message-ID:  <e8a9d090-f8e9-78f0-37c7-a1e7bfc2a4dc@sentry.org>
In-Reply-To: <67606352-8546-7016-5e65-0f5c4dec8a19@sentry.org>
References:  <6ccc544a-7919-57ab-5572-db67fa09ae76@sentry.org> <67606352-8546-7016-5e65-0f5c4dec8a19@sentry.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Trev wrote on 28/11/23 12:09 am:
> Trev wrote on 25/11/23 2:39 pm:
>> I recently updated from source FreeBSD 12-STABLE to FreeBSD 13-STABLE 
>> (stable/13-221a60a42: Tue Nov 14 15:36:40 AEDT 2023).
>>
>> Ever since, after my ZFS backup to an external USB drive, the system 
>> continues to consume 100% of one core of the 2011 Mac mini (i7, 16G).
>>
>> Example backup command from my shell script:
>>
>> zfs send data/www@${snapshot} | bzip2 > /mnt/zfs-data-www-${snapshot}.bz2
>>
>> Neither top, vmstat nor iostat give any clue as to what system process 
>> is using 100% of one core. To stop this phenomenon I have to shutdown 
>> and reboot the system which I do with "shutdown -r now".
>>
>> This always results in a kernel panic:
> 
> [CHOMP]
> 
> Resolved by updating the source to stable/13-ecb4d2c6e: Sat Nov 25 
> 11:31:12 AEDT 2023 and rebuilding.
> 
> [Also, thanks to Mike Karels for off-list help with top.]

ARGH. After a few days the issue has again returned. top -S -H shows 
that the process which continues to consume 100% of one CPU core is 
arc_prune, the same process that causes a kernel panic on shutdown.

Any ideas on how to resolve this?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e8a9d090-f8e9-78f0-37c7-a1e7bfc2a4dc>