Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2004 19:33:25 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-pf@freebsd.org, ChOcO Bn <choco.bn@gmail.com>
Subject:   Re: problem with table
Message-ID:  <200412171933.34934.max@love2party.net>
In-Reply-To: <c7b84f9504121708587bf53721@mail.gmail.com>
References:  <c7b84f9504121708587bf53721@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBwyZ+XyyEoT62BG0RAt8xAJ977t6COW1iptQ+K3Xw8lW+a6vkOACeJOwQ
I63moTtCnPlxMADSljG5YYQ=
=iLpN
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412171933.34934.max>