]> git.puffer.fish Git - mirror/frr.git/commit
lib: Display to end user the MAX_FDS allowed
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 24 May 2019 11:53:32 +0000 (07:53 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 24 May 2019 12:24:18 +0000 (08:24 -0400)
commit6c19478a3b62c243dc44a6d175db761486ab2921
treee34b27456b1e64afab5db7109eeb49d480f59498
parent61fa0b976aa323b6158ab45961000e4a45cffc42
lib: Display to end user the MAX_FDS allowed

Upon startup FRR reads in the MAX_FDS variable from
it's control files via the getrlimit call.  We then
setup code to limit the poll data structure size to
that value.  The OS also limits our FD's to that value
because that is what is set.  Provide a methodology
that a interested end user can figure this data out.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/thread.c