[RADIATOR] Question regarding MaxTargetHosts

Heikki Vatiainen hvn at open.com.au
Mon Dec 29 13:18:26 UTC 2025


Patrik Forsberg wrote:

> Have a small question regarding MaxTargetHosts in AuthBy Radius.
> Will this limit the number of hosts ask regardless of the hosts status or if the hosts is unavailable for the moment will the request continue on without counting it against this counter ?

A working Host is looked up first and only those that should be working 
are counted against MaxTargetHosts limit. In other words, it doesn't 
count Hosts that are unavailable.

> Say I have MaxTargetHosts set to 2
> Host 1 - is unavailable/down
> Host 2 - is available - doesn't respond (request ignored)
> Host 3 - is unavailable/down
> Host 4 - is available - responds with a reject
> 
> Will it ever reach Host 4 as long as MaxTargetHosts is set to 2 ?

It will reach Host 4. Hosts 1 and 3 are never considered.

Hosts 1 and 3 are immediately skipped until the failure backoff time or 
Status-Server brings them up again. If you see different results, please 
let us know. It should act as a limit of trying hosts that should work.

With a number of retries and multiple hosts, the eventual response may 
come long after a client has already given up when some hosts should be 
working but they don't respond.

Thanks,
Heikki

-- 
Heikki Vatiainen
Radiator Software, makers of Radiator
Visit radiatorsoftware.com for Radiator AAA server software



More information about the radiator mailing list