Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2017 17:12:05 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Kajetan Staszkiewicz <vegeta@tuxpowered.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: memory leaks in 11.0?
Message-ID:  <20170711141205.GX1935@kib.kiev.ua>
In-Reply-To: <1771938.JUakJLQFm8@energia>
References:  <1771938.JUakJLQFm8@energia>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 11, 2017 at 03:56:04PM +0200, Kajetan Staszkiewicz wrote:
> `vmstat -z` shows constantly increasing allocation of "512" and "UMA
> Slabs". Memory allocated for all pf-related things seems fine. I have
> graphite graps for every `vmstat -z` and the icrease on "512" grows
> in similar way as "wired" memory. "512" has 2 917 392 used objects
> allocated at this moment, "UMA Slabs" is 379 006, there is 2636MiB
> "wired" memory.

UMA zone 512 is used for kernel mallocs of size less than 512 (and greater
than 256).  You can see mallocs types usage with vmstat -m.



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