From owner-freebsd-questions@FreeBSD.ORG Sat Feb 11 06:16:57 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5830A16A420 for ; Sat, 11 Feb 2006 06:16:57 +0000 (GMT) (envelope-from comp.john@googlemail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E8E643D55 for ; Sat, 11 Feb 2006 06:16:55 +0000 (GMT) (envelope-from comp.john@googlemail.com) Received: by xproxy.gmail.com with SMTP id t16so352478wxc for ; Fri, 10 Feb 2006 22:16:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=I/IGZBg+AW2m41ojIEJad3w7cEJiwXbtpQRFcHVANCZAMulJmkvKIKbaf54i2ckfZ7KrPMIXvZf1BkqZocHSiqQL7TUMEBsoZQK1lBCdwvazPeAiTxQgn3ey2Hc0SuBPsqLBrJnHtyUxVIHtFW5nnxOKkpYZBhVtQRqEqCbaRME= Received: by 10.70.88.15 with SMTP id l15mr230462wxb; Fri, 10 Feb 2006 22:16:55 -0800 (PST) Received: by 10.70.37.12 with HTTP; Fri, 10 Feb 2006 22:16:55 -0800 (PST) Message-ID: Date: Sat, 11 Feb 2006 06:16:55 +0000 From: "John ." To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: swap_pager: indefinite wait buffer - fixed (sort of) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2006 06:16:57 -0000 Hello list A month or so ago I noticed that my server was freezing up. It would slowly recover, but there were 10 or so entries like this: kernel: swap_pager: indefinite wait buffer: bufobj: 0, blk no: 140947, size: 32768 Feb 10 13:26:56 shell kernel: swap_pager: indefinite wait buffer: bufobj: 0= , blk no: 101732, size: 4096 Feb 10 13:32:57 shell kernel: swap_pager: indefinite wait buffer: bufobj: 0= , blk no: 86705, size: 32768 Feb 10 14:00:19 shell kernel: swap_pager: indefinite wait buffer: bufobj: 0= , blk no: 94369, size: 16384 Eventually, /var would fill up as well as swap and the system would lock solid. I thought maybe there was a bad sector on swap, so played around a bit with deleting and re-creating swap files, even made an aux swap file and deleted the two real ones, to no avail. I upgraded from freebsd-4.11 to 5.4 and then up to 6.1-prerelease and the problem was still there. gstat(8) was still showing queued requests in the leftmost column. The disk is an ibm deskstar. So I downloaded the utilities software and ran strenuous testing against the disk, which reported no errors. Everywhere I looked on the lists, it pointed to bad cable or hardware. The disk showed in dmesg like this: Feb 9 21:22:41 shell kernel: ad0: 39266MB at a= ta0-m aster UDMA100 I thought I'd try running it in safe mode. dmesg now shows the disk like th= is: ad0: 39266MB at ata0-master PIO4 and no errors! Is this a bug with the ata driver or a problem with the device? -- John