Re:Swap, swap, swap, and bad places to work
by hacknat on Friday August 09, 2019 @01:00PM
(#20656194)
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.
[ Parent
| on HN ]
Re:Swap, swap, swap, and bad places to work
by zzzcpan on Friday August 09, 2019 @01:02PM
(#20656209)
You can do it completely in userspace, that's the ultimate configurability.
Re:Swap, swap, swap, and bad places to work
by hacknat on Friday August 09, 2019 @01:05PM
(#20656242)
You can adjust pid scores in userspace or turn it off, there's literally nothing else you can do.
Re:Swap, swap, swap, and bad places to work
by zzzcpan on Friday August 09, 2019 @01:09PM
(#20656276)
You can monitor memory, swap usage, lots of things about each process and kill processes all from a userspace program.
Re:Swap, swap, swap, and bad places to work
by scottlamb on Friday August 09, 2019 @08:31PM
(#20659379)
And there are existing userspace daemons; see: https://code.fb.com/production-engineering/oomd/