Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
Dnia środa, 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 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.
> > 
> > Thank you for pointing me to that command, now I see that the biggest
> > allocation is:
> > lltable 3240611 1620278K       -  3311016  256,512
> > 
> > I'll push all `vmstat -m` to graphite to see which one is growing.
> 
> lltable is the arp table, AFAIU.

AFAIR you are right.

> Do you have something unusual configured there, or some non-usual network 
activity ?

I have non-standard net.link.ether.inet.max_age=240. Default value was 1200. 
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.

-- 
| pozdrawiam / greetings | powered by Debian, FreeBSD and CentOS |
|  Kajetan Staszkiewicz  | jabber,email: vegeta()tuxpowered net  |
|        Vegeta          | www: http://vegeta.tuxpowered.net     |
`------------------------^---------------------------------------'
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQSOEQZObv2B8mf0JbnjtFCvbXs6FAUCWWXkuwAKCRDjtFCvbXs6
FKnCAKDsj8x3NREVq/iII12knr/tRLB0AwCfR0HkXvUmvAwrZ1g7ixV0AhyeMLM=
=2fpq
-----END PGP SIGNATURE-----

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