Live data from Hacker News

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

bugs.launchpad.net

11–20 of 175 posts

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

#11
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 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 documented nor support all use cases.

The Fedora ecosystem is better in this regard. Want to build an rpm? rpmbuild is the only answer. Want to update the system? Use dnf. (Sadly, there's now also PackageKit, and it's not quite isomorphic to dnf.)

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

#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 the JetBrains IDEs work well with it. Hardware support is spotty and battery life is terrible. The BSD license means you can incorporate FreeBSD into commercial products without infecting yourself with the GPL.

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

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

Can you provide any good entry points to the BSD world?

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

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

Can you provide any good entry points to the BSD world?

Are you coming from Linux, Windows or OSX?

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

#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, though, as a) it breaks lots of people's understanding / expectation, and b) if you want to never swap out then just forego the creation of a swap file / partition.

[1] https://www.percona.com/blog/2014/04/28/oom-relation-vm-swap...

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

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

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

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

#18
If you want something similar to Ubuntu, but something that is much more stable, I highly recommend Linux Mint. I've been using it for about 4 years now and it's a delight. Very stable and doesn't give me a lot of issues after upgrades. Their upgrade-schedule and the upgrades itself are very conservative.

They've based off a Ubuntu LTS, but I think they are starting to move away from that.

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

#19
post #14

Earlier quoted context omitted.

Are you coming from Linux, Windows or OSX?

I am very good with Linux and Windows. So either of the two are fine.

I would perhaps spend some time running it in a VM, and then if you decide you like it and think it's worth the time investment, maybe try installing it on your laptop. I run it on a Thinkpad X1. The handbook is a great resource:

https://www.freebsd.org/doc/handbook/

The book, Design and Implementation of the FreeBSD Operating System is quite good if you like technical reading.

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

#20
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.
Post reply on HN