TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: JAN PANTELTJE
from: THEO
date: 2020-01-24 14:11:00
subject: Re: Question about ever g

Jan Panteltje  wrote:
> Then I started first firefox, swap space stayed the same.
> Then also started chrome browser, swapspace now increased to
> MiB Mem :   3906.0 total,   2890.2 free,    378.1 used,    637.7 buff/cache
> MiB Swap:    100.0 total,     20.2 free,     79.8 used.   3380.0 avail Mem
>
> closing both firefox and chrome does NOT release the new swap space,
> it stays at 20.2 free,
> so it seems other apps were forced to use swap, 2 GB not enough ??? LOL
>
> Indeed it is then probably safer to add a swap partition with huge size.
>
> But IMO this is a basic problem in Linux.
> An ever growing swap space usage is a killer in the long run,
> be it in a file or on a disk.
>  ?

I don't see ever growing swap.
You have 3.38GB of swap you could be using.
You have 100MB of swap actually enabled, of which ~80MB is used and 20MB is
free.
That's approximately nothing.

If your swap is a partition, it's a fixed size and can't grow.  So if you
exceed swap the kernel will just kill a process to free up space.  The same
thing will happen if you don't enable swap.

If you want a system with more consistent performance, you can disable swap.
Then everything either fits in RAM or the system kills it.  Then you don't
end up in a disc thrash death spiral.

Theo

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.