Max listening ports
Alan DeKok
aland at deployingradius.com
Sun Nov 9 14:18:46 CET 2014
Kev Pearce wrote:
> I'd like to run a FR with more than 256 virtual servers/listening ports.
Why? That's a bit unusual.
> 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?
Not really.
Thought with 256 sockets open, something like kqueue or epoll becomes
a *lot* more efficient.
Alan DeKok.
More information about the Freeradius-Devel
mailing list