From owner-freebsd-stable@FreeBSD.ORG Thu Oct 16 20:29:48 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 96B9E966; Thu, 16 Oct 2014 20:29:48 +0000 (UTC) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F4AEAD0; Thu, 16 Oct 2014 20:29:48 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id x19so4268348ier.39 for ; Thu, 16 Oct 2014 13:29:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2LNKoO1UzLtHKTbaakdY3O6fi8QgtSjoBVLGoc07z7Y=; b=WltyKS6NxAgqWl3izyMhXbn05/OnV22i+mgNOlVhzebEBgTfaK+OLgpq5OIgx5s6hy TFuvQI3NkxwriL/ITWIQCGCYTO2jXNxeOLn2TPL5FGpydDK/DvROw09uDCN88Ika3KFT u+AxbqPXPOPh0aRFqIunJS2stpy1DuDTdU2z4R+ppgrtZOnnTbbjL5c5nkqJ//NFJmnH HsLHBCyAB12rXk5TJ4O5bgu+Cgpu8tL7vCQ9s3EW/dfThPu9oUx9XJcR75nY6f1DPm3G QtNeY1cgmpplCTxxAXUWU5oTGB3v+89PiMIp+z9izGS5d6Zrh1602K/7h6AwBo8fp01/ F4rA== MIME-Version: 1.0 X-Received: by 10.107.162.80 with SMTP id l77mr4267961ioe.21.1413491387579; Thu, 16 Oct 2014 13:29:47 -0700 (PDT) Received: by 10.50.87.130 with HTTP; Thu, 16 Oct 2014 13:29:47 -0700 (PDT) In-Reply-To: <5440284A.2020301@sentex.net> 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> <5440284A.2020301@sentex.net> Date: Thu, 16 Oct 2014 13:29:47 -0700 Message-ID: Subject: Re: 10.1-BETA2 possible kernel memory leak in routing table From: Rumen Telbizov To: Mike Tancsa Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "Alexander V. Chernikov" , Gleb Smirnoff , brian@freebsd.org, "freebsd-stable@freebsd.org" , "Alexander V. Chernikov" 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:29:48 -0000 As far as I know they have not. I needed to apply them manually after svn up to the latest 10 stable. It would be great if they become part of 10.1-RELEASE. I have been running with them for 2 weeks now both my firewalls and everything has been rock solid. On Thu, Oct 16, 2014 at 1:19 PM, Mike Tancsa wrote: > 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/ > -- Rumen Telbizov Unix Systems Administrator