3.7.52. FarmSize Previous topic Parent topic Child topic Next topic

This optional parameter allows you to specify how many server instances to create in a server farm. A server farm can improve performance in some cases on Unix platforms that support fork system call.
A server farm is a set of identical Radiator servers, all monitoring the same RADIUS sockets. Incoming RADIUS requests are distributed among the child servers in the server farm. The main server acts as a supervisor, and restarts children that die or are terminated. Defaults to not set, which means no server farm, and only a single instance of Radiator is run. When FarmSize is configured, a shared duplicate cache is also strongly recommended. For more information, see DupCache.
Tip
To log server farm instance, see special formatting parameter %O and configuration parameter LogFarmInstance.
CAUTION
This parameter, and the use of server farms is not compatible with many EAP protocols, such as EAP-TLS, EAP-TTLS, PEAP etc. This is because such protocols rely in authentication state being held within each server process, and it is necessary for all the requests for such protocols to go to the same Radiator instance.