Re: Chasing OOM Issues - good sysctl metrics to use?

From: Pete Wright <pete_at_nomadlogic.org>
Date: Fri, 13 May 2022 20:43:11 UTC

On 5/11/22 12:52, Mark Millard wrote:
>
>
> Relative to avoiding hang-ups, so far it seems that
> use of vm.swap_enabled=0 with vm.swap_idle_enabled=0
> makes hang-ups less likely/less frequent/harder to
> produce examples of. But is no guarantee of lack of
> a hang-up. Its does change the cause of the hang-up
> (in that it avoids processes with kernel stacks swapped
> out being involved).

thanks for the above analysis Mark.  i am going to test these settings 
out now as i'm still seeing the lockup.

this most recent hang-up was using a patch tijl@ asked me to test 
(attached to this email), and the default setting of vm.pageout_oom_seq: 
12.  interestingly enough with the patch applied i observed a smaller 
amount of memory used for laundry as well as less swap space used until 
right before the crash.

cheers,
-p


-- 
Pete Wright
pete@nomadlogic.org
@nomadlogicLA