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

How To Get More Kernel Memory for BIG PF Tables (Re: memory issue)

Michiel van Baak wrote:

Hi all,

I'm trying to setup my spamd table in pf.
I used Daniel's script as he posted it on http://www.benzedrine.cx/relaydb.html as a template for my own script (see below)
When I run my script it fails with the error: pfctl: Cannot allocate memory.

1) Manually apply that patch to 3.5-stable:
With that patch, tables can use up to 768M of kernel memory on i386,
instead of <64M without the patch.

2) Reloading tables with "pfctl -t foo -Tr" use much less
temporary memory than reloading with "pfctl -f /etc/pf.conf".

X-posting to [email protected] because that question is asked sooooo much.