Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2018 14:53:46 -0800
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Rebecca Cran <rebecca@bluestop.org>
Cc:        freebsd-hackers Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: 13-CURRENT: several GB swap being used despite plenty of free RAM
Message-ID:  <201811172253.wAHMrkgl003187@slippy.cwsent.com>
In-Reply-To: Message from Rebecca Cran via freebsd-hackers  <freebsd-hackers@freebsd.org> of "Sat, 17 Nov 2018 14:44:41 -0700." <1748688.u6MfGjpqfb@photon.int.bluestop.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <1748688.u6MfGjpqfb@photon.int.bluestop.org>, Rebecca Cran 
via freeb
sd-hackers writes:
> I'm running 13-CURRENT from a few days ago. I noticed the system using severa
> l 
> GB of swap despite having 90GB RAM still free. I know FreeBSD will use *some*
> , 
> but 3450MB seems excessive when there's still 90GB RAM free.
>
> CPU:  0.1% user,  0.0% nice,  0.0% system,  0.0% interrupt, 99.8% idle
> Mem: 3392M Active, 5489M Inact, 390M Laundry, 25G Wired, 90G Free
> ARC: 19G Total, 8080M MFU, 9242M MRU, 64K Anon, 197M Header, 1570M Other
>      15G Compressed, 26G Uncompressed, 1.73:1 Ratio
> Swap: 8192M Total, 3450M Used, 4742M Free, 42% Inuse, 36K In
>
> Quitting firefox caused the swap usage to drop to just 460MB. I don't 
> understand why it would decide to swap out so much, especially since I have 
> vm.swap_idle_enabled set to 0.

Were you by chance building any ports at the time? Or, possibly 
extracting a tarball?


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811172253.wAHMrkgl003187>