ippool and cache-size
Alan DeKok
aland at deployingradius.com
Mon Sep 13 14:16:40 CEST 2010
Konstantin Chekushin wrote:
> My pool size is 32k. And I'm using this pool only for fallback issue.
> So, I'll need it rarely in the future.
For 32K IP's, I'd suggest using a database.
> If cache-size = 32768, then radiusd process takes all memory.
> "Mon Sep 13 12:33:46 2010 : Error: Couldn't fork: Cannot allocate memory"
> If cache-size = 16384 :
...
> radiusd takes 261m! :-[ ]
<shrug> That's how in-memory databases work. They use memory.
> So, here is my question. If I'll use default cache-size =800, and at
> some point radius will start using this pool, what will happen if all
> 800 ip-addresses will be taken? Will the system slowdown, or if there
> will be a segmentation fault or something else? Why is "less is very bad"?
If you have 32K IP's, use a database. See the "sqlippool" module.
Alan DeKok.
More information about the Freeradius-Users
mailing list