From owner-freebsd-stable@FreeBSD.ORG Thu Oct 16 20:19:21 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 072D055D; Thu, 16 Oct 2014 20:19:21 +0000 (UTC) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9FAFD9C0; Thu, 16 Oct 2014 20:19:20 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.9/8.14.9) with ESMTP id s9GKJISV049744; Thu, 16 Oct 2014 16:19:18 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <5440284A.2020301@sentex.net> Date: Thu, 16 Oct 2014 16:19:22 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Rumen Telbizov , "Alexander V. Chernikov" Subject: Re: 10.1-BETA2 possible kernel memory leak in routing table References: <542AAA3C.1080803@ipfw.ru> <542AE376.6000003@FreeBSD.org> <542AFAE3.9030705@FreeBSD.org> <20141001135124.GM73266@glebius.int.ru> <542C20D7.3070606@sentex.net> <20141001171646.GQ73266@glebius.int.ru> <542C5529.9030800@FreeBSD.org> <7AB35136-89AA-48F2-8B0E-1BA3DCD4A6BA@ipfw.ru> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.75 Cc: "Alexander V. Chernikov" , Gleb Smirnoff , brian@freebsd.org, "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2014 20:19:21 -0000 Hi, Have these two patches been merged to RELENG_10 ? ---Mike On 10/2/2014 6:25 PM, Rumen Telbizov wrote: > Hello everyone, > > Alexander, Gleb: good news guys. The problem seems to be resolved! Good > job.Here's what I have. > > 1. I upgraded the backup firewall to 10-STABLE (r272435), applied Gleb's > patch of pf_table.c and rebuilt. Just as reported by Gleb, the leak seemed > to be reduced but it was still present and leaked a little bit of memory > upon every PF reload. > > 2. In addition to 1) I applied the second patch from Alexander on radix.c > and rebuilt the kernel. After the reboot it seems like the amount of memory > consumed by the routetbl grows a little bit temporarily after reload and > then drops back to the previous, stable amount shortly after. > > Gleb, Alexander, thank you very much for your help. I appreciate your quick > response in providing patches for this problem. I hope those 2 patches get > tested by more people and get MFC'ed into 10-STABLE soon. -- ------------------- 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/