[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pfctl: DIOCADDALTQ: Cannot allocate memory



On Fri, May 23, 2003 at 06:31:36AM -0700, Carlos Carnero wrote:
> Hi,
> 
> what would does
> 
>     pfctl: DIOCADDALTQ: Cannot allocate memory

either comes from:

                altq = pool_get(&pf_altq_pl, PR_NOWAIT);
                if (altq == NULL) {
                        error = ENOMEM;
                        break;
                }

which means no more pool memory available, thus memory exhaustion in 
this area, or from he discipline specific add functions, but if you 
didn't tell us what scheduler you use nobody can tell you. and they 
only set ENOMEM on malloc/pool_get failures too, so you must have a 
memory problem.

-- 
http://2suck.net/hhwl.html - http://www.bsws.de/
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)