[Bug 275594] High CPU usage by arc_prune; analysis and fix

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Mar 2024 18:36:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275594

--- Comment #95 from mark burdett <mfburdett@gmail.com> ---
After upgrading to 13.3, what I saw, on hardware that occasionally has spikes
of memory usage and is using zfs swap (I know, it's not really recommended to
use swap at all, much less zfs swap :) was that a process would be killed due
to slow memory allocation: (mysqld), jid 0, uid 88, was killed: a thread waited
too long to allocate a page

At this point, mysqld is automatically restarted with much lower memory usage,
and thus no need to swap or arc prune, and the problem was temporarily solved. 
This happened before I had a chance to look at specific parameters, like CPU
usage, but I am assuming it might be related to this issue.  For more peace of
mind, I made various changes to avoid unexpected high memory usage on this
system, and things have been stable.

-- 
You are receiving this mail because:
You are the assignee for the bug.