Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread David Wright
On Fri 25 Sep 2020 at 07:41:10 (-0600), Charles Curley wrote: > On Thu, 24 Sep 2020 23:37:52 + Pariksheet Nanda > wrote: > > > I don't know how to empirically test that swap works > > Try free. E.g.: > > root@jhegaala:~# free > totalusedfree shared buff/

Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread Pariksheet Nanda
>> The hanging behavior is like a step function: the computer goes from being >> fully responsive to completely unresponsive; > > That's very much unlike a normal "out of RAM" situation, OTOH. > Normally what happens is that the OS starts to shuffle things around > (throwing out cached data, moving

Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread Pariksheet Nanda
Hi Linux-Fan, >>> I just checked my other server which has ZFS on root without encryption, >>> and see that I did not enable swap at all on that machine. So I'll disable >>> swap, thrash the RAM with `stress`, and then hopefully the OOM-killer works >>> like it does on that machine. >> >> Yay! Inde

Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread Brian
On Fri 25 Sep 2020 at 07:41:10 -0600, Charles Curley wrote: > On Thu, 24 Sep 2020 23:37:52 + > Pariksheet Nanda wrote: > > > I don't know how to empirically test that swap works > > Try free. E.g.: > > root@jhegaala:~# free > totalusedfree shared buff/ca

Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread Tixy
On Fri, 2020-09-25 at 07:41 -0600, Charles Curley wrote: > On Thu, 24 Sep 2020 23:37:52 + > Pariksheet Nanda wrote: > > > I don't know how to empirically test that swap works > > Try free. E.g.: > > root@jhegaala:~# free > totalusedfree shared buff/cache

Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread Charles Curley
On Thu, 24 Sep 2020 23:37:52 + Pariksheet Nanda wrote: > I don't know how to empirically test that swap works Try free. E.g.: root@jhegaala:~# free totalusedfree shared buff/cache available Mem: 78605095 780 597

Re: OOM-killer not being involked under memory pressure

2020-09-24 Thread Stefan Monnier
> I neglected to mention that I run XFCE with its System Load Monitor panel > plugin having a RAM indicator bar that climbs and maxes out right before the > hang. RAM is something I often need to monitor because I run scientific > computing programs which can also exhaust my RAM if I'm not careful

Re: OOM-killer not being involked under memory pressure

2020-09-24 Thread Linux-Fan
Pariksheet Nanda writes: > I just checked my other server which has ZFS on root without encryption, and see that I did not enable swap at all on that machine. So I'll disable swap, thrash the RAM with`stress`, and then hopefully the OOM-killer works like it does on that machine. Yay! Indeed di

Re: OOM-killer not being involked under memory pressure

2020-09-24 Thread Pariksheet Nanda
> I just checked my other server which has ZFS on root without encryption, and > see that I did not enable swap at all on that machine. So I'll disable swap, > thrash the RAM with`stress`, and then hopefully the OOM-killer works like it > does on that machine. Yay! Indeed disabling swap allowe

Re: OOM-killer not being involked under memory pressure

2020-09-24 Thread Pariksheet Nanda
Hi Stefan, >> My crystal ball says that you're not running out of RAM, but you're >> hitting a nasty bug instead. I hope I'm wrong. > > Perhaps there's a ZFS bug or misconfiguration that happens before the > OOM-killer has the chance to be involked. The encryption support is a > relatively new f

Re: OOM-killer not being involked under memory pressure

2020-09-24 Thread Pariksheet Nanda
Hi Stefan, >> Every few days, my desktop runs out of RAM, and this usually happens while >> web browsing. > > What exactly makes you think the problem is that it ran out of RAM? --snip-- > If your problem is due to a lack of free RAM, I'd expect the OOM to do > its job at some point and I'd also e

Re: OOM-killer not being involked under memory pressure

2020-09-24 Thread Stefan Monnier
Hi, > Every few days, my desktop runs out of RAM, and this usually happens while > web browsing. What exactly makes you think the problem is that it ran out of RAM? > I wait for as much as an hour and a half, but just see the > screen as frozen the way it was at the time of the hang. 8 GB RAM is