I am getting this
pfctl: DIOCADDALTQ: Cannot allocate memory
if I try to enable altq on pf configured as
   
   altq on $ext_if bandwidth 256Kb cbq queue { ssh_i web other}
   queue ssh_i bandwidth 25% cbq(borrow red)
   queue web bandwidth 25% cbq(borrow red)
   queue other bandwidth 50% cbq(borrow default red)
   
without that "red" it works ok...
roman