Hi all. I have a question about rlm_ippool and cache-size option.<br /> <br /> Info from description: cache-size: The gdbm cache size for the db files. Should be equal to the number of ip's available in the ip pool.<br /> Also, note the cache size matches the number of IP's in your pool. More is OK but wasteful, less is very bad.<br /> <br /> My pool size is 32k. And I'm using this pool only for fallback issue. So, I'll need it rarely in the future.<br /> <br /> If cache-size = 32768, then radiusd process takes all memory.<br /> "Mon Sep 13 12:33:46 2010 : Error: Couldn't fork: Cannot allocate memory"<br /> If cache-size = 16384 :<br /> <br /> top:<br /> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND <br /> 3061 freerad 20 0 304m 261m 1080 S 0 52.1 0:00.00 radiusd<br /> <br /> radiusd takes 261m! :-[ ]<br /> <br /> 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"?
<!-- -->