3 ms·
I wish there was an easy way to configure it to say "target user processes first, specifically java (or these days python)" as in my experience they are always
by SoftTalker 1mo ago
I wish there was an easy way to configure it to say "target user processes first, specifically java (or these days python)" as in my experience they are always the culprits. Processes owned by system accounts or root should be the last ones killed.
- bigstrat2003 1mo agoSimilarly, in the past I have wished for the ability to exempt a process from the oomkiller. I've run servers where the top memory user was also the server's entire reason for existence, and if that process gets killed the server may as well be down. It would literally have been better for any other process to get killed, but it was always the application process because of the memory usage.
- mixmastamyk 1mo agosystemd-oomd works reasonably well and there is source code. Perhaps claude can help add more detailed policy support to it. Just found this comment: https://news.ycombinator.com/item?id=49663299 https://news.ycombinator.com/item?id=49663299