From owner-freebsd-pf@FreeBSD.ORG Thu Apr 16 14:14:16 2009 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA7A1106566B for ; Thu, 16 Apr 2009 14:14:16 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from mail-chaos.rambler.ru (mail-chaos.rambler.ru [81.19.68.130]) by mx1.freebsd.org (Postfix) with ESMTP id A4C768FC2F for ; Thu, 16 Apr 2009 14:14:16 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from [192.168.1.5] (unknown [81.19.90.156]) (Authenticated sender: citrin@citrin.ru) by mail-chaos.rambler.ru (Postfix) with ESMTPSA id EF34D1703A for ; Thu, 16 Apr 2009 18:14:14 +0400 (MSD) Message-ID: <49E73D36.4020104@citrin.ru> Date: Thu, 16 Apr 2009 18:14:14 +0400 From: Anton Yuzhaninov User-Agent: Thunderbird 2.0.0.21 (X11/20090321) MIME-Version: 1.0 To: freebsd-pf@freebsd.org References: <49E72BCC.9000405@accid.net> In-Reply-To: <49E72BCC.9000405@accid.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pfctl: Cannot allocate memory. X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 14:14:18 -0000 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