Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2019 23:56:06 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Mark Johnston <markj@freebsd.org>
Cc:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: 11.2-STABLE kernel wired memory leak
Message-ID:  <fbc267a9-b0a7-17f7-3671-96c99795a919@grosbein.net>
In-Reply-To: <763f9373-747a-fe5b-8376-cc9bb3293219@grosbein.net>
References:  <d8c7abc0-3ba1-40e4-22b1-1b30d28ced14@grosbein.net> <20190212163446.GA29847@raichu> <763f9373-747a-fe5b-8376-cc9bb3293219@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
12.02.2019 23:49, Eugene Grosbein wrote:
> 12.02.2019 23:34, Mark Johnston wrote:
> 
>> I suspect that the "leaked" memory is simply being used to cache UMA
>> items.  Note that the values in the FREE column of vmstat -z output are
>> quite large.  The cached items are reclaimed only when the page daemon
>> wakes up to reclaim memory; if there are no memory shortages, large
>> amounts of memory may accumulate in UMA caches.  In this case, the sum
>> of the product of columns 2 and 5 gives a total of roughly 4GB cached.
> 
> Forgot to note, that before I got system to single user mode, there was heavy swap usage (over 3.5GB)
> and heavy page-in/page-out, 10-20 megabytes per second and system was crawling slow due to pageing.

There was significant memory shortage due to Firefox having over 5GB RSS
plus other processes like Xorg, parts of xfce4 etc. Still, over 4GB of Wired memory.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fbc267a9-b0a7-17f7-3671-96c99795a919>