From owner-freebsd-stable@FreeBSD.ORG Wed Sep 14 23:14:00 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C30E16A41F for ; Wed, 14 Sep 2005 23:14:00 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id E408543D45 for ; Wed, 14 Sep 2005 23:13:59 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j8ENDtvL011175; Wed, 14 Sep 2005 16:13:55 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j8ENDsus011174; Wed, 14 Sep 2005 16:13:54 -0700 (PDT) (envelope-from jmg) Date: Wed, 14 Sep 2005 16:13:54 -0700 From: John-Mark Gurney To: Kris Kennaway Message-ID: <20050914231354.GR793@funkthat.com> Mail-Followup-To: Kris Kennaway , Ivan Voras , stable@freebsd.org References: <20050914211535.L97204@geri.cc.fer.hr> <20050914192543.GA79143@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050914192543.GA79143@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: stable@freebsd.org, Ivan Voras Subject: Re: ENOMEM in swap_pager X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 23:14:00 -0000 Kris Kennaway wrote this message on Wed, Sep 14, 2005 at 15:25 -0400: > On Wed, Sep 14, 2005 at 09:20:48PM +0200, Ivan Voras wrote: > > On a P3 server with 1GB of memory, every now and then (about twice a > > month) I get a log full of errors like this: > > > > swap_pager: I/O error - pageout failed; blkno 167,size 4096, error 12 ^^ > > swap_pager: I/O error - pageout failed; blkno 182,size 4096, error 12 > > swap_pager: I/O error - pageout failed; blkno 199,size 8192, error 12 > > swap_pager: I/O error - pageout failed; blkno 12456,size 20480, error 12 > > swap_pager: I/O error - pageout failed; blkno 222,size 8192, error 12 > > > > The server runs fine otherwise, and it doesn't seem to affect applications > > in any way I'm able to detect. It's running latest 5.4-RELEASE, swap is > > on a SCSI disk, single processor. > > > > IIRC GEOM should handle ENOMEMs by retrying the IO, but I'm asking just in > > case - are these errors something I should worry about? > > I/O errors suggest your disk is failing. Unless for some reason his disk is running out of memory: grep 12 /usr/include/errno.h #define ENOMEM 12 /* Cannot allocate memory */ -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."