Date: Wed, 12 Jul 2017 10:58:35 +0200 From: Kajetan Staszkiewicz <vegeta@tuxpowered.net> To: Konstantin Belousov <kostikbel@gmail.com> Cc: freebsd-net@freebsd.org, ae@freebsd.org Subject: Re: memory leaks in 11.0? Message-ID: <34090826.WM7W0CICNb@energia> In-Reply-To: <20170712082652.GD1935@kib.kiev.ua> References: <1771938.JUakJLQFm8@energia> <3858976.1e6N5M9emt@energia> <20170712082652.GD1935@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1651514.ej94J7XUA0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
Dnia =C5=9Broda, 12 lipca 2017 11:26:52 CEST Konstantin Belousov pisze:
> On Wed, Jul 12, 2017 at 10:16:25AM +0200, Kajetan Staszkiewicz wrote:
> > Dnia wtorek, 11 lipca 2017 17:12:05 CEST Konstantin Belousov pisze:
> > > 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 ha=
ve
> > > > 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.
> > >=20
> > > 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.
> >=20
> > Thank you for pointing me to that command, now I see that the biggest
> > allocation is:
> > lltable 3240611 1620278K - 3311016 256,512
> >=20
> > I'll push all `vmstat -m` to graphite to see which one is growing.
>=20
> lltable is the arp table, AFAIU.
AFAIR you are right.
> Do you have something unusual configured there, or some non-usual network=
=20
activity ?
I have non-standard net.link.ether.inet.max_age=3D240. Default value was 12=
00.=20
Table size is:
% arp -an | wc -l
2410
% ndp -an | wc -l
145
> I have no idea if some leaks there were known and fixed since 11.0.
=2D-=20
| pozdrawiam / greetings | powered by Debian, FreeBSD and CentOS |
| Kajetan Staszkiewicz | jabber,email: vegeta()tuxpowered net |
| Vegeta | www: http://vegeta.tuxpowered.net |
`------------------------^---------------------------------------'
--nextPart1651514.ej94J7XUA0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQSOEQZObv2B8mf0JbnjtFCvbXs6FAUCWWXkuwAKCRDjtFCvbXs6
FKnCAKDsj8x3NREVq/iII12knr/tRLB0AwCfR0HkXvUmvAwrZ1g7ixV0AhyeMLM=
=2fpq
-----END PGP SIGNATURE-----
--nextPart1651514.ej94J7XUA0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34090826.WM7W0CICNb>
