problem with table

Max Laier max at love2party.net
Fri Dec 17 10:32:45 PST 2004


On Friday 17 December 2004 17:58, ChOcO Bn wrote:
> i'm using freebsd 5.3 with pf and altq compiled in kernel.
> i'm trying to fill a table with a file containing some range of ips (
> according to CIDR norms )
>
> choco ~/ip_guardian# cat guarding.ip | wc -l
>    46916
>
>
> and when i try to reload my rules, i can't get it work :
>
> "cannot define table guardian: Cannot allocate memory"
>
> How could i handle this ?

What is your maxusers setting? ($sysctl kern.maxusers) Try to recompile your 
kernel with a higher value. With a setting of 384 (the automatic maximum) I 
can allocate up to 60000 table entries:

-pa-r-  spam
        Addresses:   60000


-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20041217/7a890c82/attachment.bin


More information about the freebsd-pf mailing list