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. Thanks! Ken
Ken Sallot <ken@astro.ufl.edu> wrote: > 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 That message is printed when a timeout appears while waiting for the swap device. I've seen such problems when the disk or the controller was dead or malfunctioning. Are you sure that your hardware is OK, i.e. no disk errors, good cables etc.? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "IRIX is about as stable as a one-legged drunk with hypothermia in a four-hundred mile per hour wind, balancing on a banana peel on a greased cookie sheet -- when someone throws him an elephant with bad breath and a worse temper." -- Ralf Hildebrandt
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