Originally posted by ssokolow
View Post
Announcement
Collapse
No announcement yet.
Ubuntu Developers Have An Idea For Handling The Over-Eager Systemd OOMD App Killing
Collapse
X
-
-
Originally posted by ehofman View PostWell in such cases Ubuntu or RedHat could provide patches or press to handle these situations.
In the server and embedded market developers have better information about resources and are in charge of fixing the program, so where those companies actually do have a say the problem is pretty much moot anyway.
Leave a comment:
-
Originally posted by sinepgib View Post
Lol no. Most developers don't know and don't care. Besides, in the end they couldn't know, the amount of memory available is only known at runtime. They can only set minimum requirements and hope.
Leave a comment:
-
systemd + oomd + snapd + gnome, what a disastrous mess. Not only that, but the combination inherently uses far more memory than needed.
Simplify. Use a distro like Void that gives you all you need with far less overhead and complexity.
Also, I agree with the poster who said Ubuntu users should be downloading more ram from the internet. But be sure and download your ram from a trusted source, like IBM/RedHat or Microsoft or Google. Or from Facebook or Twitter. Someone who respects Trusted Computing.
- Likes 4
Leave a comment:
-
Originally posted by rclark View PostSeems to me a solution to a non-problem. I mean memory is cheap and plentiful. If you experience out-of-memory problems, your machine isn't configured properly for the use case. Don't get it .
The second case was indeed "machine isn't configured properly for the use case" because I was building LineageOS on machine with 8GB RAM and they increased memory requirements to 16GB. Compilation just failed after several hours, so not really a problem anyway.
- Likes 1
Leave a comment:
-
Originally posted by sinepgib View Post
But is there anough memory for it to put the dialog on screen?
- Likes 1
Leave a comment:
-
For those screaming "just buy more RAM": ugh. It's tiresome to read the same dumb crap again and again.
WRT the actual problem, it seems to me it's poorly configured, and I agree with the sentiment that this functionality is mostly useful in a server anyway, where the user is expected to properly tune this kind of daemon or keep it disabled if unwilling. Normal users won't take the time to say "hmmmmm maybe this particular app should be allowed to use much more RAM than this particular other app", app by app.
- Likes 1
Leave a comment:
-
Originally posted by ehofman View PostThe browser was just one example of memory hungry applications. I think every developer knows it's software requires much memory and every developer knows best what to do in case of low memory situations.
- Likes 2
Leave a comment:
-
Originally posted by sarmad View PostThen only show a dialog with user space processes, or processes that are safe to kill.
If no user is in front of the screen, then simply show the dialog and wait until the user is in front of the screen, in the mean time the processes needing the extra memory can just hang and wait.
Originally posted by sarmad View PostIf it's a server, then again just hang the processes that are wanting the extra memory until an admin ssh into the server and select what to kill; it's not like the server will be of any use after you kill some random process. If you have a server and you know you have memory leaking processes that are safe to restart then you can configure oom killer for your server and tell it exactly what to kill and restart.
- Likes 3
Leave a comment:
Leave a comment: