<div>https://gitlab.labs.nic.cz/labs/bird/commit/3aed0a6ff7b2b811a535202fd787281d2ac3340912.02.2016, 19:15, "Daniel Seidenstücker" <d.seidenstuecker@googlemail.com>:</div><blockquote type="cite"><div lang="DE" link="blue" vlink="purple"><div><p><span lang="EN-US">Dear BIRD community,</span></p><p><span lang="EN-US"> </span></p><p><span lang="EN-US">I want to connect BIRD 1.5.0 with more than 1000 ExaBGP peers on Ubuntu 14.04 LTS 64 Bit. Connecting 1000 peers works but if I increase the peer count to more than 1024 it fails due to the soft file limit of 1024.</span></p><p><span lang="EN-US">To raise that I tried the usual (ulimit, </span><span lang="EN-US" style="color:black;">/etc/security/limits.conf</span><span lang="EN-US">) but BIRD doesn’t take these new limits. Later I found the advice to add  “ulimit -n 10000” to the init.d script before each “start-stop-daemon” command. After restarting BIRD it gets the correct soft and hard limits (cat /proc/<pid>/limits | grep files). But now only 750 peers work and connecting 1000 peers crashs bird without any error message in syslog (“log syslog all” configured). (I did not test 751-999 peers.)</span></p></div></div></blockquote><div>You need to recompile bird with different FD_SETSIZE limit. For example, <a href="https://cs.uwaterloo.ca/~brecht/servers/openfiles.html">https://cs.uwaterloo.ca/~brecht/servers/openfiles.html</a> can be used as a guide.</div><div>As for the crashes, they were fixed by <a href="https://gitlab.labs.nic.cz/labs/bird/commit/338f85ca7721fac16394ccabd561ddb5ccaacb36">https://gitlab.labs.nic.cz/labs/bird/commit/338f85ca7721fac16394ccabd561ddb5ccaacb36</a> && https://gitlab.labs.nic.cz/labs/bird/commit/3aed0a6ff7b2b811a535202fd787281d2ac33409</div><blockquote type="cite"><div lang="DE" link="blue" vlink="purple"><div><p><span lang="EN-US"> </span></p><p><span lang="EN-US">It would be nice if somebody could help me</span><span lang="EN-US" style="font-family:wingdings;">J</span><span lang="EN-US">.</span></p><p><span lang="EN-US"> </span></p><p><span lang="EN-US">Thanks,</span></p><p><span lang="EN-US">Daniel Seidenstuecker</span></p><p><span lang="EN-US"> </span></p><p><span lang="EN-US"> </span></p><p><span lang="EN-US"> </span></p></div></div></blockquote>