"swap_pager" loop?

Kris Kennaway kris at obsecurity.org
Tue Dec 26 19:55:31 PST 2006


On Tue, Dec 19, 2006 at 07:40:16AM -0500, Ken Sallot wrote:
> Greetings,
> 
> Yesterday morning I came in to find a 6.2-RC1 server deadlocked in a loop 
> with the following error messages on the console:
> 
> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 5, size: 4096
> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 13, size: 4096
> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 5, size: 4096
> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 13, size: 4096
> ....
> 
> The machine has 4gb of ram, a 4gb swap partition on /dev/amrd0s1b, and
> provides nfs/nis/samba/printing (cups) services.
> 
> This issue appears to have been open since at least 6.1-RELEASE, and I was
> wondering if anyone had a work-around that we can use for the time being.

You could try increasing the timeout in the msleep() in
vm/swap_pager.c.  If your system is just so heavily loaded that the
I/O command really is taking more than 20 seconds to complete, you may
be getting false positives.  If you continue to get the warning with
an arbitrarily large timeout, then you really are losing I/O
transactions and need to look carefully at your hardware, swap
configuration and (someone) at the drivers.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061227/06de17e8/attachment.pgp


More information about the freebsd-stable mailing list