Messages in this thread | | | Date | Mon, 09 Apr 2012 12:16:13 +0200 | From | Richard Weinberger <> | 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
[unhandled content-type:application/pgp-signature] | |