Re: [ANNOUNCE] keepalived 2.0.1

Patrick Schaaf <[email protected]> Fri, 15 Jun 2018 17:44:30 +0200
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAJ26g5QE8ysRh86UxJqiJeTKAUgauX+3jOqnrYGtAT=7E+qQ8A@mail.gmail.com>
On Fri, Jun 15, 2018 at 4:20 PM, Quentin Armitage
<[email protected]> wrote:
>
> At the moment keepalived uses select() for sending and receiving on sockets,
> and keepalived opens two sockets per interface that it is using for vrrp
> (one send, one receive). When using VMACs that means two sockets per vrrp
> instance, and since select() has a limit of 1024 file descriptors,

I vaguely remember that in the past (> 10 years ago) it was possible
to put the select calls into their own compilation unit (.c -> .o) and
there, before #including any of the usual socket stuff, #define
FD_SETSIZE or something like that to a larger value, to make select
support more than 1024 descriptors - the limit basically having been a
userlevel one for the fd_set definitions from the headers, not a
kernel side one. Might have changed meanwhile, though, but I thought
I'd mention it :)

best regards
  Patrick

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot