Borrow in CBQ doesn't work

Marcelo Celleri marceloc at espoltel.net
Thu Feb 8 15:41:39 UTC 2007


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 <marceloc at espoltel.net> wrote:
> >
> > Thanks for your answers, but like I said I cannot switch to hfsc where 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?
> 
> How many queues are you adding ?   HFSC is limited to 64:
> 
> #define HFSC_MAX_CLASSES 64
> 
> You might get away with increasing this number a bit?
> 
> Scott
-- 
----------------------------------
       Marcelo Célleri M.
            Jefe IP
         ESPOLTEL S.A.
   PBX 593 04 2514477 Ext. 114
----------------------------------



More information about the freebsd-pf mailing list