Live data from Hacker News

Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59

bugs.launchpad.net

121–130 of 175 posts

Re: Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59

#121
post #7

Earlier quoted context omitted.

Yeah, Ubuntu still keeps running out of space in /boot by filling it w old kernels in the default partition profile. A bug that I've been hitting since about 2011. In spite of their best efforts, it is not the "grandma friendly" quality software it hoped to be.

Honestly, the amount of regressions, packaging problems, hacky fixes, non-stardard configuration and poorly set defaults in Ubuntu is disgusting, look at how bad NetworkManager was / is on it, it's not that bad on Fedora (not that I like it that much) and the whole debarcle with them doing Unitiy on top of Gnome rather than contributing to the community projects, or recently when they released an update that broke al…

I think that Gnome3 has a more detrimental effect on community projects than Unity. Why? Because of the client side controls they are pushing, rendering Gnome apps for everything non-Gnome3 either useless or ugly. And all of that for a few pixels of screen space, something that has been solved more elegantly by putting menus in the top panel.

And talking about breakage: I can't count how many times some important Gnome3 plugin broke after a minor Gnome3 update from the distribution. Or how many times I wasn't able to install a plugin that installed fine just a month ago on the same Gnome3 version. Why? Because you have to download them from some obnoxious website that apparently has no archive and no way to properly match the right plugin version to a given Gnome3 version.

Cinnamon copied the same madness. But you have to install less addons to make it at least usable. KDE is somehow still stuck in the previous decade when it comes to desktop design.

If the Gnome3 project with their questionable design choices and holier-than-thou attitude is the future of desktop Linux, then I have to say that the situation is much worse than it was ten years ago.

BTW, Ubuntu doesn't come with Amazon addons installed anymore. And even when it did, you could entirely remove it and look at the source. I think Canonical realised that they cannot pull something like that anymore.

Re: Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59

#122

Earlier quoted context omitted.

EBS is a problem because in reality you would be swapping to a network volume. But on a standard VPS server, a bit of swap can really save you some problems. Swap was invented at a time when *NIX was strictly used in a multi-user environment, not far removed from today's webservers but very different from today's consumer devices. It still serves a purpose in that role.

> [...] a bit of swap can really save you some problems. And cause a bunch more. Have you ever had to debug a race that is only triggered when a process hits swap. Not fun at all.

Yes I did, and the swappy machine started responding just a tad too slowly to other nodes' pings, engaging into a loop of join/parting the cluster, causing replication to kick in all the time and a whole "highly available" critical cluster of 9 nodes was unable to handle traffic (too busy replicating) causing millions in losses. So yeah, don't use swap in servers.

Ironically, if the node had crashed for OoM, the cluster would have survived just fine.

Re: Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59

#123

Earlier quoted context omitted.

So much written, so little sense in that. Have you actually looked at Ubuntu, have you tried to use it? I'm not even going to go through your assertions one by one to debunk them, as most of them are wrong and unsupported by facts. Cheers.

he got some details wrong but the frustration is real, especially if you have anything slightly off standard, like a multi monitor setup or, god forbids, a touch screen.

I have a touchscreen. Works great nowadays.

Re: Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59

#124
post #11
post #7

Earlier quoted context omitted.

Yeah, Ubuntu still keeps running out of space in /boot by filling it w old kernels in the default partition profile. A bug that I've been hitting since about 2011. In spite of their best efforts, it is not the "grandma friendly" quality software it hoped to be.

My M.O. is: # apt-get update # aptitude full-upgrade # apt-get autoremove Because as far as I can tell, apt-get sometimes fails to actually update things, whereas aptitude can't autoremove. I'm sure there's a better way. This is my major gripe with the dpkg ecosystem. There are (AFAICT) multiple different tools to build dpgks and multiple different tools for updating your system, and none of them are adequately docum…

apt-get dist-upgrade is what you nerd to use to upgrade all packages... Don't blame apt-get for your lack of knowledge on how it works

Re: Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59

#125
post #113

Earlier quoted context omitted.

Do you Firefox? Because Firefox has Google as the default search engine which got them to receive hundreds of millions of dollars per year. Without that money,firefox would have been a lousy browser mainly by volunteers. Ubuntu tried to do something with amazon but probably did not earn enough money and was scrapped for more than a year.

You're mistaken, FF is using Yahoo! right now.

Not in the EU...

Re: Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59

#126
post #28

Earlier quoted context omitted.

Funny, but Linux is the only unix-like OS I've ever run where using swap means you have a problem. Other OSes have much more intelligent memory management.

heh, try using Windows when it goes into swap, Windows both desktop and server additions have the worst memory management I've ever seen and having no ZRAM and a pig of a filesystem like NTFS really doesn't help either. Going into swap in Linux isn't a problem, it's a symtom of a misconfigured / provisioned server or an unhanled application memory leak, other than that the other only things that should cause it is in…

> having no ZRAM

Windows 10 has had memory compression [1] for quite a while now. On the PC I am on at the moment with 100+ Chrome tabs open, I have 1.3GB compressed out of a total of 16GB.

[1] http://www.thewindowsclub.com/memory-compression-in-windows-...

Re: Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59

#127
post #99
post #75

Earlier quoted context omitted.

zswap makes swap useful on the server as it results in gradual slowdown when the system has used all the ram. And if the system runs at 75% of CPU, then there is room for such slowdown.

yes, we run ZRAM of every single server we have, its fantastic and we don't have swap anywhere. It's worth noting though that vm.swappiness is set to 0 then ZRAM wont be used, it must be set to 1 or higher unless you're using a really old kernel (pre 3.5).

zram[0] is not the same thing as zswap[1].

0. https://en.wikipedia.org/wiki/Zram

1. https://en.wikipedia.org/wiki/Zswap

Re: Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59

#128
post #23

Earlier quoted context omitted.

May I ask what's so bad with the SystemD source?

I wouldn't say that it's bad. I just find it to be quite complex, e.g., why does it need its own web server? I was also troubled by the number of Debian maintainers who left the Debian project over the intense controversy, as well as Linus's comments.

So the anti-systemd trolls who harassed and attacked Debian developers until they quit are a point against systemd? Interesting perspective.

Re: Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59

#129
post #28

Earlier quoted context omitted.

IMHO if you can't not use swap without running out of memory in normal workloads, you either need more RAM or to work on reducing your memory consumption; swapping is for temporary overloads or gracefully recovering from one, not a substitute for RAM. It's not just a bunch of people setting cm.swappieness to 0 is it? That behaviour changed and now prevents going into swap /ever/ where it used to mean go into swap as…

Funny, but Linux is the only unix-like OS I've ever run where using swap means you have a problem. Other OSes have much more intelligent memory management.

It's not the case on Linux either.

Linux intelligently swaps out ununsed pages even if there's enough physical RAM (that is more useful as page cache).

Re: Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59

#130

Earlier quoted context omitted.

Honestly, the amount of regressions, packaging problems, hacky fixes, non-stardard configuration and poorly set defaults in Ubuntu is disgusting, look at how bad NetworkManager was / is on it, it's not that bad on Fedora (not that I like it that much) and the whole debarcle with them doing Unitiy on top of Gnome rather than contributing to the community projects, or recently when they released an update that broke al…

So much written, so little sense in that. Have you actually looked at Ubuntu, have you tried to use it? I'm not even going to go through your assertions one by one to debunk them, as most of them are wrong and unsupported by facts. Cheers.

Been using Ubuntu for years in multiple production environments and I agree with him.

Much fewer issues with Red Hat.

Post reply on HN