Re: ipset memory usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux