failed memcached server handling

Alan DeKok aland at deployingradius.com
Fri Apr 12 21:26:16 UTC 2024


On Apr 10, 2024, at 2:51 AM, Eric Lin <pirate585 at gmail.com> wrote:
> I am testing Freeradius v3.2.3 with cache module. the driver
> "rlm_cache_memcached". We plan to build a freeradius cluster with
> distributed memcached to cache user login status. During the test, I
> notice if memcached is offline, freeradius will either reject all new
> auth request or failed to start.

  Set "start = 0"

> ...
>                pool {
>                        start = ${thread[pool].start_servers}

  Set that to "0", and it won't try connecting to memcache until the server receives a packet.

> also, the option --REMOVE_FAILED_SERVERS is not supported

  Patches are welcome.

  Alan DeKok.



More information about the Freeradius-Users mailing list