Live data from Hacker News

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

bugs.launchpad.net

81–90 of 175 posts

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

#81
post #7
post #2

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 a last resort. Changing it to 1 fixes the issue and will act like the old behaviour or only swapping as a last result. Regardless, it's things like this why we never recommend people use Ubuntu - years of poorly packaged and tested software. If you wan…

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 mother, who is literally a grandmother, ran into the /boot old kernel's issue twice already. Very annoying.

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

#82
post #15
post #2

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 a last resort. Changing it to 1 fixes the issue and will act like the old behaviour or only swapping as a last result. Regardless, it's things like this why we never recommend people use Ubuntu - years of poorly packaged and tested software. If you wan…

Crikey - they did what?! I recall a fascinating article / thread years ago about swappiness=0 not actually meaning what people thought it meant, and explaining why it was (generally) a bad idea. A low number, yes, but not 0. Doing some research now, and found a blog written by someone bitten by this change back in 2014-04 -- referring to the commit that introduced this in 3.5-rc1. Not clear why the change was made, t…

Exactly, people in this thread missing the point of the use of RAM. A perfect operating system always going to use as much RAM is available for caching and there are long running processes that can be swapped out to free RAM for more important use cases. Memory management and paging/swapping is an interviewing topic for SREs/systems engineers, and this is not an accident. Oversimplifying the problem does not help.

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

#83
post #12

I stopped using Ubuntu after Amazon affiliate marketing showed up on the desktop. I stopped using Arch after I read the source code for SystemD. FreeBSD had quite a learning curve, but now it's on my laptops and is my preferred server OS. I love DTrace. I love ZFS. I love pf. I love Jails. I love ports, even though I generally use pkg. I love how easy it is to compile a kernel. The FreeBSD handbook is awesome. All th…

So you came from Arch, and thought FreeBSD had quite a learning curve? Hmm maybe I should rethink FreeBSD and stick with Mint.

FreeBSD is actually a much cleaner operating system than other unix-like clones. I have used it for a decade but my work required me to use linux.

Best parts already mentioned in this thread (pf, jails, etc.) I would add one thing to the list:

https://www.freebsd.org/cgi/man.cgi?hier(7)

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

#84
post #65
post #22

Earlier quoted context omitted.

Oh, I know it's easy to fix, I just single that bug out as "I have done nothing with this box but install updates and surf the web. I am Grandma. It breaks".

If you're Grandma you don't have /boot on a separate partition, you have all / on a big 120GB at least, so if you run out of space you simply know you've run out of space. Not perfect but not a problem for 90% of people I guess...

Ubuntu installer has separate /boot partition by default. If you don't do anything special during installation you end up with it.

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

#85
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…

Others wrote "apt-get dist-upgrade" in sibling comments, which should do the trick. If you want to build packages for multiple managers, fpm is a nice front-end for some of them: https://github.com/jordansissel/fpm

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

#86

Earlier quoted context omitted.

Precisely what I described. It's a web server that serves journald events/entries. It's separate from journald, and it's separate from systemd as a service. It's completely optional. It's no more embedded in systemd than nginx. It does exist in the same umbrella project as systemd, (and I think that is an issue) but embedded is the wrong term.

> embedded is the wrong term Don't use it then. Anyway, since systemd-the-project doesn't have a separate name from systemd-the-init, I don't see any problem with Cieplak's statement.

I'm calling it out because there are many people saying completely wrong things about systemd project. Both the init itself and other services. There's a lot of things that could be criticised about systemd, but if people constantly attack it just because they misunderstand it, it's going to be much harder to agree and change anything about the legitimate issues. Being specific helps.

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

#87
post #56
post #45

Earlier quoted context omitted.

My laptop has 8 gigabytes of ram. I can fit all of my personal files in that at obce, I don't see why that's not enough for everything.

Space used on disk is less than when the data is in RAM. It's not a binary copy loaded. It's binary data loaded then inflated into app-object memory. So much overhead

I’ve run with 4 GB of memory and no swap for a long time. It’s not hard.

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

#88
post #37
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.

I downvoted you for "grandma friendly." My grandma remembers when LaTeX was "new" and was one of the first people to professionally use computer-based typesetting. What exactly does "grandma friendly" look like to her?

I utterly agree that it's patronising to use a generic grandma as an example of a naïve user, and we should stop doing it.

However, I suggest that your grandma's long experience with computers probably means that she in would be especially displeased with the crummy state of the Linux desktop in 2017!

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

#89
post #44
post #2

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 a last resort. Changing it to 1 fixes the issue and will act like the old behaviour or only swapping as a last result. Regardless, it's things like this why we never recommend people use Ubuntu - years of poorly packaged and tested software. If you wan…

What are the many missing packages on Debian? From my experience Centos looks like a bad joke.

Most SELinux policies, Corosync and Pacemaker and related HA / clustering tools, and a pile of other things and they settled for a really awful stable kernel major in Jessie / 8.x.

It really went downhill with, the release of 8.0, the only improvement we really saw was a slightly newer kernel (but still old) and SystemD (although not consistantly implemented), The Debian community has also fallen through the floor, lots of smart-ass bickering and slack package maintainership and generally unhelpful, rude contributors / owners. By contrast RHEL/CentOS sped up their release cycles after re-in-housing Fedora as and taking a lot of it's rolling updates into stable a lot quicker and the community has been fantastic, Redhat have really stepped up and modernised their game a lot over the past two or there years.

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

#90
post #53
post #44

Earlier quoted context omitted.

What are the many missing packages on Debian? From my experience Centos looks like a bad joke.

CentOS only includes packages that Red Hat builds and supports on RHEL. Extra packages are maintained by the community as part of Fedora EPEL.

and a number of other useful community / product maintained repos such as PostgreSQL's official yum repo, ELRepo, Docker's official repo, Sernet's official Samba repo, Nginx's official repo etc...
Post reply on HN