[Bug 261181] 13-STABLE hang: swap_pager: indefinite wait buffer

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 13 Jan 2022 15:39:44 UTC

            Bug ID: 261181
           Summary: 13-STABLE hang: swap_pager: indefinite wait buffer
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: lnx.doujin@gmail.com

I have a 13.0-STABLE amd64 system that hangs when doing a "git pull" after
several minutes of disk activity.

On a fresh boot with the latest kernel and userland, it gets as far as:

remote: Enumerating objects: 1314, done.
Updating 6f8a947161..562a8eaddf

This is where it freezes and the disk churning stops.

The console partially freezes up too. I'm able to switch ttys with alt+f2/3 but
can't actually type a username at the login prompt.

After some time, the console then (repeatedly, but slowly) prints:

swap_pager: indefinite wait buffer: bufobj: 0, blkno xxx, size: 4096

(The xxx is a random number every time, with some repetitions.)

I have to hard reset it. I tried with swap off but that didn't help. Of note is
that wired memory in top at the time of the hang goes way up to 9gb (out of
10gb total) but the ARC is only around 250mb total. This is all done on a fresh

Kernel stable/13-889517034 (from September) doesn't have the bug.

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