You are not logged in.
Pages: 1
Observed this a few times. And due to system freezing from the high IO load, I could not figure out what actually happened.
Symptom:
With/without physical swap, or zswap, when some progress gets crazy and keeps allocating memory until memory is (nearly) full (observed on memory usage monitor), a huge IO is triggered (observed by disk light). The "freezing" lasts a couple of hours and I have to force shutdown.
What I tried:
Set following value with sysctl. Not helping.
vm.swappiness = 10
vm.min_free_kbytes = 65536
The disk is SSD, and I have tried a totally another computer, same symptom.\
So my questions are, what was happening? How to prevent it?
Last edited by magicloud (2019-04-21 09:30:11)
Offline
swapping, maybe thrashing.
Lowering swappiness will only prefer to drop file caches over swapping out anon pages (what is ultimately prone to thrashing, because required files, includiding binaries and libraries, now have to be constantly re-read from disk)
https://bbs.archlinux.org/viewtopic.php … 9#p1763139
https://unix.stackexchange.com/question … -frozen-os
If a single process has a tendency to go wild, DON'T USE CRAPPY SOFTWARE. If you cannot avoid that, pass it a hard quota and get it kill if it want's more than n xB of RAM.
Online
What hardware is this/how much ram do you have?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
swapping, maybe thrashing.
I see. It is a building and testing host. Both tasks could require too much memory. I have some tools running killing those huge RSS processes. But before that, which bugs me is that, I cannot save anything.
What hardware is this/how much ram do you have?
Regular Intel CPU PC, 8 GiB memory.
Offline
If "building" includes one of the major browser engines (especially chromium, whether for a browser or Electron):
8GB RAM is the bare minium, 32GB is reasonable. See https://chromium.googlesource.com/chrom … uctions.md
Ensure you've a sufficiently large swap device, ie. eg. 24GB in such case. Building chromium will still take ages, but should not thrash (given you rise the swappiness again)
Even better: get more RAM ;-)
Online
Even better: get more RAM ;-)
I have a "more RAM" host, but too lousy, and too hot (physically)....
Anyway, I set the vm.overcommit_memory to 2. Let me see if that, at least, works on those progresses with memory leakage.
Offline
Pages: 1