ENOMEM in swap_pager

2005-09-14 Thread Ivan Voras
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?



--
Every sufficiently advanced magic is indistinguishable from technology
   - Arthur C Anticlarke

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ENOMEM in swap_pager

2005-09-14 Thread John-Mark Gurney
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.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ENOMEM in swap_pager

2005-09-14 Thread Lyndon Nerenberg


On Sep 14, 2005, at 4:13 PM, John-Mark Gurney wrote:

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
#defineENOMEM12/* Cannot allocate memory */


The error occurs when sys/vm/swap_pager:swapgeom_strategy() can't  
allocate a copy of an underlying I/O request buffer. The log message  
lies a bit; this isn't a physical disk I/O error.


--lyndon
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]