4 ms·
Oomd reminds me of userspace OOM handling mechanism proposed by David Reintjes of Google: https://lwn.net/Articles/590960/ https://lwn.net/Articles/590960/
by dward 8y ago
Oomd reminds me of userspace OOM handling mechanism proposed by David Reintjes of Google:
https://lwn.net/Articles/590960/ https://lwn.net/Articles/590960/
- sofaofthedamned 8y agoDoes this fix the cgroup memory reporting issue? It's caused me a lot of pain with containers containing crap code that assumes the memory is all available.
- macdice 8y agoSee also the wonderfully named SIGDANGER signal on AIX. It seems many people have invented this. I've been wondering out loud recently if PostgreSQL should attempt to support these various impending-doom-notification mechanisms, or whether a system that close to the edge really needs human intervention anyway.
- puzzle 8y agoThe Amiga had a feature in the Exec kernel since version 3.0 that let applications register so-called memory handlers, which the system could call to purge e.g. thumbnail caches owned by the userland process, etc. Of course the Amiga had a single address space and no memory protection or paging, so things were easier.
- egorfine 8y agoiOS has a mechanism like that. The application receives notification on memory pressure and can release some memory in order to not being killed.