Maximum number of lines in authorize file

Alan DeKok aland at deployingradius.com
Mon May 13 17:10:05 CEST 2019


On May 13, 2019, at 11:06 AM, Gianni Costanzi <gianni.costanzi at gmail.com> wrote:
> is there a maximum number of lines or "blocks" that can be defined in
> authorize (old users) file?

  The entries get put into an RB tree.  So lookups are always O(logN).

  I've tested it with 500K entries.  The server takes a while to parse the entries, and uses a lot of RAM.  But it does work.

  For anything past a few hundred entries tho, you'd be *much* better using a real database.

  Alan DeKok.




More information about the Freeradius-Users mailing list