lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F82B6ED.2010500@nod.at>
Date:	Mon, 09 Apr 2012 12:16:13 +0200
From:	Richard Weinberger <richard@....at>
To:	Konstantin Khlebnikov <khlebnikov@...nvz.org>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	"paul.gortmaker@...driver.com" <paul.gortmaker@...driver.com>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: 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




Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ