From: Jean-Philippe Menil Subject: Re: BUG nf_conntrack_ffff880863c50000: Objects remaining on kmem_cache_close() Date: Fri, 10 Feb 2012 09:13:58 +0100 Message-ID: <4F34D1C6.4000507@univ-nantes.fr> References: <4F328A81.4050607@univ-nantes.fr> <20120209155753.GB5951@1984> <4F33F03C.5030805@univ-nantes.fr> <20120209193917.GB6881@1984> <4F34CAC0.7060800@univ-nantes.fr> <1328860499.4030.2.camel@edumazet-laptop> <4F34CE31.7030404@univ-nantes.fr> Reply-To: jean-philippe.menil@univ-nantes.fr Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Pablo Neira Ayuso , netfilter-devel@vger.kernel.org To: Eric Dumazet Return-path: Received: from smtp-tls2.univ-nantes.fr ([193.52.101.146]:41652 "EHLO smtp-tls.univ-nantes.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754026Ab2BJIN7 (ORCPT ); Fri, 10 Feb 2012 03:13:59 -0500 In-Reply-To: <4F34CE31.7030404@univ-nantes.fr> Sender: netfilter-devel-owner@vger.kernel.org List-ID: Le 10/02/2012 08:58, Jean-Philippe Menil a =C3=A9crit : > Le 10/02/2012 08:54, Eric Dumazet a =C3=A9crit : >> Le vendredi 10 f=C3=A9vrier 2012 =C3=A0 08:44 +0100, Jean-Philippe M= enil a =C3=A9crit : >> >>> No, the NetlinkEventsReliable is commented in the configuration fil= e. >>> >>> However, on the same hosts, i see strange things: >>> ths host boot with the following parameter: >>> net.netfilter.nf_conntrack_max=3D262144 >>> net.netfilter.nf_conntrack_tcp_timeout_established=3D10800 >>> >>> nf_conntrack is loaded with the following parameter: >>> options nf_conntrack hashsize=3D262144 >>> >>> But it seems that the nf_conntrack_max reset to his default value >>> (65536) periodically. >>> Three days ago, i manually increase the nf_conntrack_max to 262144, >>> yesterday i see plenty of "nf_conntrack: table full, dropping packe= t". >>> checking the value, is fall down to 65536. >>> >>> It's maybe not related, but i can't understand how the value can=20 >>> change? >>> >> 65536 is the default value when module is loaded. >> >> Something unloads it and loads it again, and sysctl is not run after >> this module load. >> >> >> >> > Yes, that's what i'm thinking. > And i found the culprit: > my lxc guest start with the default value (65536), and it seems to=20 > reset the value on the hosts ... > Dropt the capabilites in the container isn't sufficiant. I need to mount the /proc as read-only ... --=20 Jean-Philippe Menil - P=C3=B4le r=C3=A9seau Service IRTS DSI Universit=C3=A9 de Nantes jean-philippe.menil@univ-nantes.fr Tel : 02.53.48.49.27 - Fax : 02.53.48.49.09 -- To unsubscribe from this list: send the line "unsubscribe netfilter-dev= el" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html