Swapping when memory is idle??

Lars Liedtke liedtke at punkt.de
Thu Aug 20 08:58:32 UTC 2020


Hello,

I have something similiar sometimes, e.g. when I had VMs running and
stopped them. If the Kernel swapped data during that time, it will not
get back things from swap it does not need right now. But there may be
more expirienced people being able to explain more.

Cheers

Lars

Am 20.08.20 um 09:53 schrieb Odhiambo Washington:
> Hola,
>
> I have a machine with 16GB RAM and not heavily used.
> I see from `top` some things that I do not understand well.
> Why would a system use swap when memory is idle?
>
> Output of top shown below:
>
>
> last pid:  2272;  load averages:  0.07,  0.19,  0.17
>
>                                                             up 26+12:09:26
> 10:49:04
> 155 processes: 1 running, 154 sleeping
> CPU:  0.1% user,  0.0% nice,  0.0% system,  0.0% interrupt, 99.9% idle
> Mem: 799M Active, 6262M Inact, 4964M Laundry, 2465M Wired, 1492M Buf, 1564M
> Free
> Swap: 3598M Total, 3530M Used, 67M Free, 98% Inuse
>
-- 
---
punkt.de GmbH
Lars Liedtke
.infrastructure

Kaiserallee 13a	
76133 Karlsruhe

Tel. +49 721 9109 500
https://infrastructure.punkt.de
info at punkt.de

AG Mannheim 108285
Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200820/2a92c836/attachment.sig>


More information about the freebsd-questions mailing list