Originally posted by jacob
View Post
While it can be a very good tool in tightly controlled environments such as servers, the current approach is a clusterfuck on the desktop.
Nobody likes it when their apps, or even their entire desktops, suddenly disappear with no warnings, no clues, no way to appeal, and no way to recover anything.
There's a missing link here. The tool is too blunt and there's no instrumentation in the desktop.
Now, for this or -any other- proactive oom-handler to be viable on the desktop, integration and more functionality are imperative.
I mean, currently It's criminal! There's not even a notification after the fact.
For general acceptance we need desktop-centric functionality, a GIU for easy configuration by laypeople, and some sweeteners:
- in-advance warnings, with the options to opt-out and leave it to the kernel, or just kill stuff manually?
- an option to freeze the offenders to disk and recover them later? (There's plumbing is in the kernel, but it needs to be leveraged.)
- User-customizable policies that do not require cgroups wizardry to hint the oom-handler on how to handle specific programs and situations? (eg: signal certain apps to "save-and-exit" instead of just killing 'em dead, fail others in some specific ways, just SIGSTOP that one and leave it alone, never-ever even go near this peeve of mine, etc.)
Any of the above would improve the Desktop-OOM situation greatly, but they all require concerted efforts, resources, and time. So, we'll have to be patient...
Comment