Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hacknat
· 7y ago · 0 comments
One problem with Linux in low memory situations is that the OOM killer is a really blunt force instrument. It would be nice if it were a lot more configurable. Simple OOM scores don't cut it, IMO.
Comments
[–]
zzzcpan
7y ago
You can do it completely in userspace, that's the ultimate configurability.
[–]
hacknat
OP
7y ago
You can adjust pid scores in userspace or turn it off, there's literally nothing else you can do.
[–]
zzzcpan
7y ago
You can monitor memory, swap usage, lots of things about each process and kill processes all from a userspace program.
[–]
scottlamb
7y ago
And there are existing userspace daemons; see:
https://code.fb.com/production-engineering/oomd/