Re: swap_pager: cannot allocate bio

From: Chris Ross <cross+freebsd_at_distal.com>
Date: Sat, 13 Nov 2021 04:15:49 UTC

> On Nov 12, 2021, at 15:10, Mark Johnston <markj@freebsd.org> wrote:
> 
> If it's possible to reproduce this and procstat -kka is usable, it would
> be helpful to see the full output.  In particular, I am wondering if the
> page daemon is getting blocked waiting for the arc evict handler to
> successfully allocate memory.
> 
> https://cgit.freebsd.org/src/commit/?id=97ed4babb51636d8a4b11bc7b207c3219ffcd0e3 <https://cgit.freebsd.org/src/commit/?id=97ed4babb51636d8a4b11bc7b207c3219ffcd0e3>
> is an example of a fix for such a problem, and is not present in 13.0.
> I would also suggest trying to apply that patch, though I'm fairly sure
> there are other such problems still lurking.

I’ve built a stable/13 as of today, and updated the system.  I’ll see
If the problem recurs, it usually takes about 24 hours to show.  If
It does, I’ll see if I can run a procstat -kka and get it off of the system.

           - Chris