From owner-freebsd-pf@FreeBSD.ORG Thu Feb 8 15:41:39 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E220616A48F for ; Thu, 8 Feb 2007 15:41:38 +0000 (UTC) (envelope-from marceloc@espoltel.net) Received: from jupiter.espoltel.net (jupiter.espoltel.net [200.49.242.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8EF6B13C4A6 for ; Thu, 8 Feb 2007 15:41:36 +0000 (UTC) (envelope-from marceloc@espoltel.net) Received: from localhost (localhost.espoltel.net [127.0.0.1]) by jupiter.espoltel.net (Postfix) with ESMTP id CA8802DB37A; Thu, 8 Feb 2007 10:45:26 -0500 (ECT) Received: from jupiter.espoltel.net ([127.0.0.1]) by localhost (jupiter.espoltel.net [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 97492-09; Thu, 8 Feb 2007 10:45:03 -0500 (ECT) Received: from [172.26.5.40] (unknown [69.65.149.194]) by jupiter.espoltel.net (Postfix) with ESMTP id 2F7082DB36D; Thu, 8 Feb 2007 10:45:03 -0500 (ECT) From: Marcelo Celleri To: Scott Ullrich In-Reply-To: References: <1170892051.4715.32.camel@localhost.localdomain> <86ireddmqr.fsf@sparrow.local> <1170946053.4734.10.camel@localhost.localdomain> Content-Type: text/plain; charset=UTF-8 Organization: ESPOLTEL Date: Thu, 08 Feb 2007 10:41:06 -0500 Message-Id: <1170949266.4734.21.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by Amavis-new and ClamaV at ESPOLTEL Cc: freebsd-pf@freebsd.org Subject: Re: Borrow in CBQ doesn't work X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: marceloc@espoltel.net 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, 08 Feb 2007 15:41:39 -0000 I think that the number of queues is bigger than 64, so I have to change this value in the kernel config and then recompile it? Is there another way to do it? I'm scared to death only with the idea of recompiling in my production server :( On jue, 2007-02-08 at 10:19 -0500, Scott Ullrich wrote: > On 2/8/07, Marcelo Celleri wrote: > > > > Thanks for your answers, but like I said I cannot switch to hfsc wher= e I > > have the main configuration for my customers, because I have a lot of > > queues and the server gives me: > > > > pfctl: DIOCADDALTQ: Cannot allocate memory > > > > I don't know if something could be wrong in my config or is just the > > amount of processes to support, which could be the maximum number of > > hfsc queues to support related with the amount of memory? >=20 > How many queues are you adding ? HFSC is limited to 64: >=20 > #define HFSC_MAX_CLASSES 64 >=20 > You might get away with increasing this number a bit? >=20 > Scott --=20 ---------------------------------- Marcelo C=C3=A9lleri M. Jefe IP ESPOLTEL S.A. PBX 593 04 2514477 Ext. 114 ----------------------------------