Re: ipset memory usage

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

 



On Sun, 25 Sep 2005, tedemo wrote:

> The ipset modules seems to eat a lot of memory :
> with a test set of  :
> - 150 000 networks in a nethash
> - 10 000 hosts in a iphash
> ipset sometimes fails with out of memory errors :
> "kernel: allocation failed: out of vmalloc space - use vmalloc=<size> to
> increase size"
>
> The VmAllocUsed variable from /proc/meminfo goes from 6Mo to 160Mo after
> loading sets.

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
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary


[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