<div dir="ltr"><div><div><div><div><div><div><div>Hi<br><br>Running multiple "configure" commands via birdc, while there is an error in configuration file, creates multiple file descriptors.<br><br></div>Scenario<br>
</div><div>CentOS 6.4 2.6.32-358.el6.x86_64<br></div>bird 1.4.0<br></div>birdc.conf main configuration file<br></div>comp.conf included in bird.conf<br></div>there a loop of "configure" and several "show" commands runs in a background to ease configuration debugging<br>
<br></div>after a while following error appears<br>/etc/bird/bird.conf, line 96: Unable to open included file /etc/bird/comp.conf: Too many open files<br><br></div>lsof provides thousands of the following<br><div><br><div>
<div><div><div><div><div>bird 20566 root 657r REG 253,0 617 25314 /etc/bird/comp.conf~ (deleted)<br>bird 20566 root 658r REG 253,0 617 25314 /etc/bird/comp.conf~ (deleted)<br>
bird 20566 root 659r REG 253,0 617 25314 /etc/bird/comp.conf~ (deleted)<br>bird 20566 root 660r REG 253,0 617 25314 /etc/bird/comp.conf~ (deleted)<br>
bird 20566 root 661r REG 253,0 617 25314 /etc/bird/comp.conf~ (deleted)<br>bird 20566 root 662r REG 253,0 643 25313 /etc/bird/comp.conf~ (deleted)<br>
bird 20566 root 663r REG 253,0 643 25313 /etc/bird/comp.conf~ (deleted)<br>bird 20566 root 664r REG 253,0 643 25313 /etc/bird/comp.conf~ (deleted)<br>
bird 20566 root 665r REG 253,0 695 25034 /etc/bird/comp.conf<br>bird 20566 root 666r REG 253,0 695 25034 /etc/bird/comp.conf<br>bird 20566 root 667r REG 253,0 695 25034 /etc/bird/comp.conf<br>
bird 20566 root 668r REG 253,0 695 25034 /etc/bird/comp.conf<br>bird 20566 root 669r REG 253,0 695 25034 /etc/bird/comp.conf<br>bird 20566 root 670r REG 253,0 695 25034 /etc/bird/comp.conf<br>
<br></div><div>Only solution found is to restart the bird proccess<br><br></div></div></div></div></div></div></div></div>