Max listening ports

Kev Pearce at
Sun Nov 9 00:09:02 CET 2014

Hi guys,

I'd like to run a FR with more than 256 virtual servers/listening ports.
When building and starting the latest source of the v3.0.x branch with more
than 256 vs's/ports defined I get:
Failed adding event handler for socket: Too many readers
I traced this error back to the #define on line 37 of event.c:
#define FR_EV_MAX_FDS (256)

Are there are any serious repercussions of increasing this and running more
than 256 vs's/listening ports?

Cheers very much

More information about the Freeradius-Devel mailing list