News for hackers. Stuff that matters.
Re:Do we really need swap on modern systems? by qznc on Friday February 24, 2017 @02:44AM (#13721810)
I cannot remember a single occasion, where my desktop recovered when it started swapping. Always, the whole system locks up and I need to reboot. Thus, better kill some random processes instead of all of them.
Re:Do we really need swap on modern systems? by gumoro on Friday February 24, 2017 @07:04AM (#13722833)
Always, really? Perhaps I'm lucky but this happens quite frequently with my system (dev workstation, so browser with lots of tabs, IDE, my own app/server stuff, other "power/mem-hungry" dev tools...), and I always manage to keep it sane/healthy:

- notice system starts swapping (if you do not monitor that, to me it sounds as careless as driving on the highway on 2nd gear and ignoring engine noise -- ideally the OS could proactively help here but unfortunately I don't know a good "automated" tool)

- find out which process/app uses the most memory (Linux can even tell you which ones use the most swap space [1])

- decide which one you want to (gently|forcefully)-(quit|restart|whatever). Exercise judgment.

[1] http://stackoverflow.com/questions/479953/how-to-find-out-wh...

Re:Do we really need swap on modern systems? by Razengan on Friday February 24, 2017 @05:20AM (#13722481)
> I cannot remember a single occasion, where my desktop recovered when it started swapping.

..which operating system is that?

Re:Do we really need swap on modern systems? by qznc on Friday February 24, 2017 @06:54AM (#13722800)
Ubuntu
Re:Do we really need swap on modern systems? by pareidolia on Friday February 24, 2017 @07:37AM (#13723038)
Sounds to me your swap is not swapon'd. I get the same behaviour when I'm not running swap and memory is depleted.