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
--nextPart1664770.PeCE0kjUjt
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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 you=
r=20
kernel with a higher value. With a setting of 384 (the automatic maximum) I=
=20
can allocate up to 60000 table entries:

=2Dpa-r-  spam
        Addresses:   60000


=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart1664770.PeCE0kjUjt
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

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

--nextPart1664770.PeCE0kjUjt--



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