rlm_ippool slowness

Chris Hellberg chrishellberg at yahoo.com
Thu Mar 3 20:53:29 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





More information about the Freeradius-Devel mailing list