Re: Swap filling up, usermode process swap usage doesn't explain

From: Pete Wright <pete_at_nomadlogic.org>
Date: Wed, 19 Jul 2023 22:40:03 UTC

On 7/19/23 15:11, Scott Gasch wrote:
> Yes, I'm using ZFS.  Here's what top says:
> 
> last pid: 88926;  load averages:  1.20,  0.96,  0.87                     
>     up 5+17:48:34  15:09:58
> 274 processes: 1 running, 272 sleeping, 1 zombie
> CPU:  1.8% user,  0.0% nice,  0.5% system,  0.0% interrupt, 97.8% idle
> Mem: 1844M Active, 7777M Inact, 77G Laundry, 35G Wired, 750M Buf, 3367M Free
> ARC: 24G Total, 2878M MFU, 18G MRU, 21M Anon, 119M Header, 2622M Other
>       18G Compressed, 25G Uncompressed, 1.33:1 Ratio
> Swap: 144G Total, 11G Used, 133G Free, 7% Inuse
> 
> If I leave this alone it will grow to consume all available swap space.  
> I'll try your fix with the sysctl knob and see what happens...  I hope 
> this is it, I've been fighting this for a while now.

worth a shot, but 24G of ARC isn't that bad, especially if you are doing 
quite a bit of disk i/o.

i'm more interested in the 77G of Laundry memory, that seems like quite 
a bit.  but i don't know your workload so not sure...

-p

-- 
Pete Wright
pete@nomadlogic.org
@nomadlogicLA