From nobody@FreeBSD.org  Mon Sep  3 03:27:57 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5A8FB37B416
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  3 Sep 2001 03:27:51 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f83ARpb77965;
	Mon, 3 Sep 2001 03:27:51 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200109031027.f83ARpb77965@freefall.freebsd.org>
Date: Mon, 3 Sep 2001 03:27:51 -0700 (PDT)
From: David Hedley <david@inty.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: swap_pager problem with 4.2-RELEASE
X-Send-Pr-Version: www-1.0

>Number:         30283
>Category:       kern
>Synopsis:       swap_pager problem with 4.2-RELEASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 03 03:30:06 PDT 2001
>Closed-Date:    Sat Nov 30 17:00:36 PST 2002
>Last-Modified:  Sat Nov 30 17:00:36 PST 2002
>Originator:     David Hedley
>Release:        FreeBSD 4.2-RELEASE
>Organization:
Intelligent Network Technology Ltd
>Environment:
FreeBSD freddy.inty.net 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Fri Dec 15 15:51:22 GMT 2000     david@freddy.inty.net:/usr/src/sys/compile/GENERIC+MODS  i386

>Description:

After approx 90 days uptime one of our mail servers running 4.2-RELEASE failed with the following errors continuously repeating on the console:

swap_pager: indefinite wait buffer: device: #ad/0x20001, blkno: 18920, size: 4096
swap_pager: indefinite wait buffer: device: #ad/0x20009, blkno: 27088, size: 4096

Although the server still responded to pings etc, any disk activity would cause the respective process to hang.

The swap configuration is as follows:

Device          1K-blocks     Used    Avail Capacity  Type
/dev/ad0s1b        524160    11536   512624     2%    Interleaved
/dev/ad1s1b        524160    11564   512596     2%    Interleaved
Total             1048320    23100  1025220     2%

>How-To-Repeat:

Unknown
>Fix:

Unknown
>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@ringlet.net>
To: David Hedley <david@inty.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/30283: swap_pager problem with 4.2-RELEASE
Date: Mon, 3 Sep 2001 13:38:18 +0300

 On Mon, Sep 03, 2001 at 03:27:51AM -0700, David Hedley wrote:
 > 
 > >Number:         30283
 > >Category:       kern
 > >Synopsis:       swap_pager problem with 4.2-RELEASE
 > >Originator:     David Hedley
 > >Release:        FreeBSD 4.2-RELEASE
 > >Organization:
 > Intelligent Network Technology Ltd
 > >Environment:
 > FreeBSD freddy.inty.net 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Fri Dec 15 15:51:22 GMT 2000     david@freddy.inty.net:/usr/src/sys/compile/GENERIC+MODS  i386
 > 
 > >Description:
 > 
 > After approx 90 days uptime one of our mail servers running 4.2-RELEASE failed with the following errors continuously repeating on the console:
 > 
 > swap_pager: indefinite wait buffer: device: #ad/0x20001, blkno: 18920, size: 4096
 > swap_pager: indefinite wait buffer: device: #ad/0x20009, blkno: 27088, size: 4096
 > 
 > Although the server still responded to pings etc, any disk activity would cause the respective process to hang.
 > 
 > The swap configuration is as follows:
 > 
 > Device          1K-blocks     Used    Avail Capacity  Type
 > /dev/ad0s1b        524160    11536   512624     2%    Interleaved
 > /dev/ad1s1b        524160    11564   512596     2%    Interleaved
 > Total             1048320    23100  1025220     2%
 
 AFAICS from a quick look at /sys/vm/swap_pager.c, this error message
 is caused by a timeout on the actual read operation from the swap
 device.  I think you should check your disks for physical errors,
 or better just replace them, before damage is done to more than
 the swap partitions..
 
 And then, of course, I might be totally off-base; some VM/swap guru
 to explain what exactly does the 'indefinite wait buffer' message mean?
 
 G'luck,
 Peter
 
 -- 
 This sentence every third, but it still comprehensible.
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Wed Nov 13 17:40:23 PST 2002 
State-Changed-Why:  

Does this problem still occur? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30283 

From: Ian Dowse <iedowse@maths.tcd.ie>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/30283: swap_pager problem with 4.2-RELEASE 
Date: Sun, 01 Dec 2002 00:45:17 +0000

 Adding to the audit trail:
 
 In message <JPEJJOLCCBGIGJGODCGGIEKKCGAA.david@inty.net>, David Hedley writes:
 >
 >Don't know - it only occurred when there were two heavily used disks on =
 >the same IDE bus.
 >
 >We replaced the two disks with just one bigger disk and we haven't seen =
 >the problem since.
 >
 >Haven't tried a later FreeBSD build on it yet.
 >
 >David
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sat Nov 30 16:53:37 PST 2002 
State-Changed-Why:  

There is insufficient information available to determine if the 
effect was caused by a FreeBSD bug or a hardware issue. As the 
problem has not repeated itself, there is little use in keeping 
this PR around, but it can be re-opened if the issue reappears. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30283 
>Unformatted:
