ipset memory usage

tedemo tedemo at free.fr
Mon Sep 26 10:17:24 CEST 2005


Hello,

Jozsef Kadlecsik a écrit :

>Check out the real size of the hashes by searching the kernel log:0
>"rehashing of set <foo> triggered: hashsize grows from <n> to <m>".
>
>Best regards,
>Jozsef
>
The size for the nethash, reported in the log is arround 20mo the first 
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 
thousand calls to "ipset -A"
(i.e. without calling ipset --save). Can this cause troubles ?



More information about the netfilter mailing list