From mboxrd@z Thu Jan 1 00:00:00 1970 From: tedemo Subject: Re: ipset memory usage Date: Mon, 26 Sep 2005 10:17:24 +0200 Message-ID: <4337AE94.6020503@free.fr> References: <4336442D.3090404@free.fr> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: Jozsef Kadlecsik Cc: netfilter@lists.netfilter.org Hello, Jozsef Kadlecsik a =E9crit : >Check out the real size of the hashes by searching the kernel log:0 >"rehashing of set triggered: hashsize grows from to ". > >Best regards, >Jozsef > The size for the nethash, reported in the log is arround 20mo the first=20 time it I run : ipset --restore < ip.sets I deleted each set (using ipset -X on each other) and the recreated them, the size of the nethash went to 40Mo A few reloads later its size is 90Mo. NB: The set definition file has been created manualy to avoid hundred=20 thousand calls to "ipset -A" (i.e. without calling ipset --save). Can this cause troubles ?