Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 18:14:14 +0400
From:      Anton Yuzhaninov <citrin@citrin.ru>
To:        freebsd-pf@freebsd.org
Subject:   Re: pfctl: Cannot allocate memory.
Message-ID:  <49E73D36.4020104@citrin.ru>
In-Reply-To: <49E72BCC.9000405@accid.net>
References:  <49E72BCC.9000405@accid.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Von Cid wrote:
> I'm running pf with spamd on 7.0-RELEASE and I'm getting:
> 
> pfctl: Cannot allocate memory.
> 
> when I run spamd-setup -b
> 
> It only happens when the spamd table reaches approx 84530 entries.  When 
> I flush the table manually, spamd-setup will work fine for a while (it 
> loaded 75480 entries just now).
> 
> As far as I understand by default pf can hold up to 200000 entries in a 
> table (please correct me if I'm wrong).

Better to set this limit explicitly in pf.conf, e. g.

set limit table-entries 200000

-- 
  Anton Yuzhaninov



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