I encountered the same or a similar bug on BTRFS + HDD 5400 RPM + swap
on a separate partition. Unfortunately, that notebook is not mine and is
far away from me, what makes it hard to make experiments, kernels 4.15
and 4.18 both did have this problem, which can be reliably reproduced by
running

# stress --vm 2 --vm-bytes 2000M --vm-keep

on that notebook with 4 GB RAM.
After running stress Load Average bumps above 11.0 and the whole system freezes.
Information about its hardware: 
https://linux-hardware.org/index.php?probe=af73180d0c
(HDD is in bad condition as you may see in smartctl by the URL above, but I 
still believe it's not the reason why swap is not being used properly).

Some other users complain about similar problems here:
https://forum.rosalinux.ru/viewtopic.php?t=9387 (in Russian). Andreas17
there also uses BTRFS. I see that here, in my case, in bug#199763 and
also in another case of similar problem that I know there are too many
people with BTRFS, but this may be a coincidence.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833281

Title:
  System freeze when memory is put on SWAP in Linux >4.10.x

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1833281/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to