Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2014 11:42:15 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Gleb Smirnoff <glebius@freebsd.org>, Rumen Telbizov <telbizov@gmail.com>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>, "Alexander V. Chernikov" <melifaro@freebsd.org>, brian@freebsd.org
Subject:   Re: 10.1-BETA2 possible kernel memory leak in routing table
Message-ID:  <542C20D7.3070606@sentex.net>
In-Reply-To: <20141001135124.GM73266@glebius.int.ru>
References:  <CAENR%2B_UVLDDrsef2W4CXCFX65EYaxeKN4MNWbgoyaZ5qDGe1Pg@mail.gmail.com> <542AAA3C.1080803@ipfw.ru> <CAENR%2B_X5KTdeb00f9NShN1YK%2BT2aY1vG5YcTCgu4aXZO=%2Bpa=g@mail.gmail.com> <542AE376.6000003@FreeBSD.org> <CAENR%2B_XX4jnD6SBi8S1dGfWM68tmcm0aE2iMVA3LDR3R8ygQYw@mail.gmail.com> <542AFAE3.9030705@FreeBSD.org> <CAENR%2B_WbntqjE4b=iZS8z30AK7gSpur00HsWP9-T_UJ7OosU8Q@mail.gmail.com> <20141001135124.GM73266@glebius.int.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/1/2014 9:51 AM, Gleb Smirnoff wrote:
> On Tue, Sep 30, 2014 at 04:56:00PM -0700, Rumen Telbizov wrote:
> R> Brian Somers and I are currently looking into the source of PF in latest
> R> 10-STABLE and trying to figure out what is going on. We were able to
> R> replicate this problem on a 11-CURRENT (Sep 12th) machine as well. A simple
> R> PF ruleset with 1 rule and 1 table. Every few reloads of the firewall
> R> and vmstat
> R> -m | grep routetbl shows increased memory usage.
>
> I plugged the easy leak, but there is also a hard one. Actually, the
> entire pf_table.c needs a good shake. Right now I am out of time for this.
>

Hi,
	Is that easy fix

http://lists.freebsd.org/pipermail/svn-src-head/2014-October/063178.html

Also, is there any work around to this ?  I tried a simple set of pf 
rules with no tables, hoping that was the cause of it, but memory grows 
with each pf reload.

	---Mike


-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/



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