lkml.org 
[lkml]   [2012]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: swapoff() runs forever
Am 09.04.2012 07:35, schrieb Konstantin Khlebnikov:
> Richard Weinberger wrote:
>> Hi!
>>
>> I'm observing a strange issue (at least on UML) on recent Linux kernels.
>> If swap is being used the swapoff() system call never terminates.
>> To be precise "while ((i = find_next_to_unuse(si, i)) != 0)" in try_to_unuse()
>> never terminates.
>>
>> The affected machine has 256MiB ram and 256MiB swap.
>> If an application uses more than 256MiB memory swap is being used.
>> But after the application terminates the free command still reports that a few
>> MiB are on my swap device and swappoff never terminates.
>
> After last tmpfs changes swapoff can take minutes.
> Or this time it really never terminates?

I've never waited forever. ;-)
Once I've waited for >30 minutes.

I don't think that it's related to tmpfs because it happens
also while shutting down the system after all filesystems have been unmounted.

Thanks,
//richard



[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-04-09 12:19    [W:0.069 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site