Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2023 15:40:03 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        Scott Gasch <scott.gasch@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>, freebsd-hackers@freebsd.org
Subject:   Re: Swap filling up, usermode process swap usage doesn't explain
Message-ID:  <88e0d702-cb86-b922-a5ce-82fe32e66a40@nomadlogic.org>
In-Reply-To: <CABYAQkRHbdfbccQa_UqoZ7_YBTKEjwQAR7hv%2BR0Lih60a=vSAw@mail.gmail.com>
References:  <CABYAQkQftAfRXpdSJnqH2Hi=uD-dOiGWdFU8u1XqfeZNBUA35w@mail.gmail.com> <b24efee3-939b-3e20-d07f-8dad92d8e081@nomadlogic.org> <CABYAQkRHbdfbccQa_UqoZ7_YBTKEjwQAR7hv%2BR0Lih60a=vSAw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88e0d702-cb86-b922-a5ce-82fe32e66a40>