RES: rlm_ippool slowness

Toledo, Luis Carlos lscrlstld at gmail.com
Fri Mar 4 01:25:49 CET 2011


> 
> Alan,
> 
> 
> 
> > Chris Hellberg wrote:
> > >>     key = %{md5:   %{Calling-Station-Id}}
> > >
> > > I've done this because the default  behavior in freeradius of using
> Nas-Port
> >and
> >
> > > Nas-IP-Address will not  generate a unique hash or rather will
> generate too
> > > duplicate  hashes.
> >
> >   OK... do you understand what I posted?  Do you know  where that key
> > line goes?
> >
> 
> I do now - thanks.
> 
> > > I've changed one line - the line that  creates the hash key. What
> would you
> >need
> >
> > > me to provide/do to help find  the source of the delay?
> >
> >   Nothing.  You changed the code and  broke it.
> >
> >   Try what I suggested.  Go read  raddb/modules/ippool.  No source code
> > changes are  necessary.
> >
> 
> It's certainly easier this way. But the same problem exists - 99% CPU for
> server-side pools and 4% for no server-side ippool usage.
> 
> Regards,
> 
> Chris
> 

The ippool module is´nt a problem, it is m5 excessive usage. You can use
more than one attribute to obtain a unique key.





More information about the Freeradius-Devel mailing list