From owner-freebsd-net@freebsd.org Wed Jul 12 08:16:33 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82815DB5CCA for ; Wed, 12 Jul 2017 08:16:33 +0000 (UTC) (envelope-from vegeta@tuxpowered.net) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFAF17E970 for ; Wed, 12 Jul 2017 08:16:32 +0000 (UTC) (envelope-from vegeta@tuxpowered.net) Received: by mail-lf0-x230.google.com with SMTP id z78so9342163lff.0 for ; Wed, 12 Jul 2017 01:16:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxpowered-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version; bh=oKZO/yxPPU8LyDyTB8c6gFxu6xGsL8YJJ/2B4PCfQns=; b=tRB5b9kAQ27t0gcckiA+LnIo8AV4sW/vjU5JaNb8+Lxcry6wO8FftA2DYhMqpOO/fS +4Cm3mzC7EFIqbE3PcLH21IeCWqk4q/ZXn8JtEjoyZu7aZ54wLiyajsnuaxdSk9YB+Jm uckqPFDOzVkTkpNPHF61ZAosJJxK4WbaiY1NPMfSPv++r97BcYVPSEWFnX0LhFdEtoBS 9a8Iv4f3VPUthV6Aj+avTxXNgC7sCgR/P6NlnuDZnFchIEWUrCG0mwm2jhX/H8iqAjAF ZgYXvaZNtSWgp0q3R25Rt8MGdsTDwrt6pLgWD++m0LspvYvWGK0g9kXUi/qlSiO2x5SK ILWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version; bh=oKZO/yxPPU8LyDyTB8c6gFxu6xGsL8YJJ/2B4PCfQns=; b=G9aymuEJ+pt3PVeMbAdqZ3wfX5E+ebr+3stsOqoNYK1IxHlrNuw5XpznZid/EWzAd1 65m0hkwBWkSlWsApGexgFmbYYWRe4yqHRLNsfjq8Z6F2o8WKpakjl31BBaWW8dFhhALr Q88iQKiLg7zvf6xVCv0pHfEDks0TxzFLQPyilkVx56jNUKaDV8j/juDQcoq9PBquaEye h6kbcbBqMvK1HkzOgtHe9Yju7lIhl9nFWrx4W/ZWmoRgZgiQudxgmNi054qyEanTXQZy SweGMAHlpSyC+Lf0WuLFAGhm2jrEvj9BXzpVA4NkEaidexuCKaGy+puwjm3U9ZwkFvda aNAQ== X-Gm-Message-State: AIVw112Izbk5lje7YwATLINSysx+bFTp89bm82yAX1Qc+IQdzxxFwvsD uboTixmnfvp0TQRj X-Received: by 10.80.129.4 with SMTP id 4mr5244527edc.120.1499847391086; Wed, 12 Jul 2017 01:16:31 -0700 (PDT) Received: from energia.localnet ([2a00:1f78:fffb:220:c7f7:2dda:4b51:2d6b]) by smtp.gmail.com with ESMTPSA id b30sm816356edd.6.2017.07.12.01.16.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 01:16:29 -0700 (PDT) From: Kajetan Staszkiewicz To: Konstantin Belousov Cc: freebsd-net@freebsd.org Subject: Re: memory leaks in 11.0? Date: Wed, 12 Jul 2017 10:16:25 +0200 Message-ID: <3858976.1e6N5M9emt@energia> Organization: tuxpowered.net User-Agent: KMail/5.2.3 (Linux/4.11.0-3.3-liquorix-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: <20170711141205.GX1935@kib.kiev.ua> References: <1771938.JUakJLQFm8@energia> <20170711141205.GX1935@kib.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart18073778.Hq1pDT9le1"; micalg="pgp-sha1"; protocol="application/pgp-signature" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 08:16:33 -0000 --nextPart18073778.Hq1pDT9le1 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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. -- | pozdrawiam / greetings | powered by Debian, FreeBSD and CentOS | | Kajetan Staszkiewicz | jabber,email: vegeta()tuxpowered net | | Vegeta | www: http://vegeta.tuxpowered.net | `------------------------^---------------------------------------' --nextPart18073778.Hq1pDT9le1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSOEQZObv2B8mf0JbnjtFCvbXs6FAUCWWXa2QAKCRDjtFCvbXs6 FKWzAKC/4+oe2FNfNGRGF3ll1XBYuDSz7wCgqWVoPAjf8YOAiVGmQISdvoNacBg= =kKeR -----END PGP SIGNATURE----- --nextPart18073778.Hq1pDT9le1--