← Back to context

Comment by andrepd

18 hours ago

> I now have btop permanently running in a Terminal and I habitually Alt-Tab to it to watch my swap. As soon as my free memory gets less than 1 Gb I kill any Firefox tabs (the memory black hole).

This is what nohang [0] does. There is no reason to do that by hand. Obscure configuration files to edit?

Yeah it's kind of annoying that it's not built in to most desktop distros, but... literally `apt install nohang; systemctl enable --now nohang.service`. Hardly that difficult.

[0]: https://github.com/hakavlad/nohang

So your saying the problem I am reporting is not a problem because it is obviously my responsibility to research the dozen available workarounds listed on internet forums, figure out which ones are not brand new footguns or genuine security risks, install sudo level programs from github that as the Warnings section on that repo confess "the daemon runs with super-user privileges and has full access to all private memory of all processes and sensitive user data;"

And then I scroll down and see the install instructions for my distro:

  > To install on Fedora:  
  >   
  > Orphaned for 6+ weeks, not available.  

It's funny I hear people slag npm all the time for developers just YOLO installing any dependency for the webservers they run.

But hey, just sudo install this package! What could go wrong? You only use your desktop to access your online banking, etc. Forget the trust mechanism of your distro and just live a little!