Will swap useage auto cleanup?

lhmwzy lhmwzy at gmail.com
Tue Feb 25 21:29:03 PST 2014


It has serveral times run into no responese problem.
the console messages are:
cache_lock blocked on 0xffffffe085065430 80000001 "blocklist.RSA-2048"
swap_pager: indefinite wait buffer: offset: 416837632,size:4096
swap_pager: indefinite wait buffer: offset: 416837632,size:4096
swap_pager: indefinite wait buffer: offset: 416837632,size:4096
swap_pager: indefinite wait buffer: offset: 416837632,size:4096
swap_pager: indefinite wait buffer: offset: 416837632,size:4096
swap_pager: indefinite wait buffer: offset: 416837632,size:4096
swap_pager: indefinite wait buffer: offset: 416837632,size:4096
swap_pager: indefinite wait buffer: offset: 416837632,size:4096
swap_pager: indefinite wait buffer: offset: 416837632,size:4096
.....

nodump and can't login in through ssh or console.

So is this issue  related to swap useage?


2014-02-26 10:53 GMT+08:00 Justin Sherrill <justin at shiningsilence.com>:

> Wait, that 42M used is after some time?  That's <1% - normal.  I assume
> it's being indexed there.  I've never had exactly 0% swap usage, and that
> low indicator isn't a sign of anything to worry about.
>
>
> On Tue, Feb 25, 2014 at 9:29 PM, lhmwzy <lhmwzy at gmail.com> wrote:
>
>> The only program I run is buildworld and buildkerenl,nothing else.
>> When  buildworld and buildkerenl finished,the swap won't be released even
>> several days have passed.
>>
>>
>> 2014-02-26 10:21 GMT+08:00 Justin Sherrill <justin at shiningsilence.com>:
>>
>>> If swap usage is growing, some program is running that is eating up more
>>> memory than you have physically available.  It won't be reclaimed by the
>>> operating system unless the program using that memory releases it.  The
>>> question is, what program are you running that is so memory-hungry?
>>>
>>>
>>> On Tue, Feb 25, 2014 at 7:58 PM, lhmwzy <lhmwzy at gmail.com> wrote:
>>>
>>>> I just have a question
>>>> When swap space is used more and more, will the system automatically
>>>> free up the used the swap space as time go on?
>>>> If yes,when and how.
>>>>
>>>>  top show as fllowing:
>>>>
>>>> Memory: 645M Active, 768M Inact, 378M Wired, 13M Cache, 211M Buf, 153M
>>>> Free
>>>> Swap: 4096M Total, 42M Used, 4054M Free, 1% Inuse
>>>>
>>>> the swap used space is growing larger and larger.
>>>> Server days go on and could not be freed up.
>>>>
>>>> sorry for my pool english,I hope you can understand what I have said.
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20140226/9b0b9ae1/attachment-0002.html>


More information about the Users mailing list