Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2005 16:30:16 -0700
From:      Lyndon Nerenberg <lyndon@orthanc.ca>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ENOMEM in swap_pager
Message-ID:  <6B09630D-66AD-458F-81B6-6D04AFEE5D78@orthanc.ca>
In-Reply-To: <20050914231354.GR793@funkthat.com>
References:  <20050914211535.L97204@geri.cc.fer.hr> <20050914192543.GA79143@xor.obsecurity.org> <20050914231354.GR793@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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
> #define    ENOMEM        12        /* 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6B09630D-66AD-458F-81B6-6D04AFEE5D78>