fstransform icon indicating copy to clipboard operation
fstransform copied to clipboard

Please consider self-protecting fsremap against OOM killer

Open patrakov opened this issue 8 years ago • 2 comments

In a test VM, I got fsremap OOM-killed. I think it is a good idea to add protection against this, by having fsremap (or maybe even the fstransform script?) write -1000 into its own oom_score_adj file.

patrakov avatar Aug 21 '17 16:08 patrakov

That's an interesting idea, I did not know it was possible. Thanks

cosmos72 avatar Oct 11 '17 22:10 cosmos72

Definitely +1 on this. I was doing a ext4 to xfs conversion on a Raspberry Pi 4 (Model B) and it got to the fsremap stage and all it would say was "killed". dmesg showed the process being killed by the OOM reaper.

FYI for anyone ever getting stuck with this on the RPI 4 is to enable arm_64bit=1 in /boot/config.txt, reboot and resume it.

jordandalley avatar Jan 30 '22 21:01 jordandalley