<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div id="yui_3_16_0_1_1456771561510_139358"><span id="yui_3_16_0_1_1456771561510_139366">Hello, folks!</span></div><div id="yui_3_16_0_1_1456771561510_139367"><br><span id="yui_3_16_0_1_1456771561510_139366"></span></div><div id="yui_3_16_0_1_1456771561510_139400" dir="ltr"><span id="yui_3_16_0_1_1456771561510_139366">I have recently started migration efforts for our DHCP infrastructure to CentOS7.2 and just ran into an issue with OMAPI in included into CentOS 4.2.5 version of ISC DHCP.</span></div><div id="yui_3_16_0_1_1456771561510_139416" dir="ltr"><br><span id="yui_3_16_0_1_1456771561510_139366"></span></div><div id="yui_3_16_0_1_1456771561510_139417" dir="ltr"><span id="yui_3_16_0_1_1456771561510_139366">Unlike version 4.1.1 (stock version that came in CentOS6.7), I can kill OMAPI part of running dhcpd within minutes with this simple loop:</span></div><div id="yui_3_16_0_1_1456771561510_139479" dir="ltr"><br><span id="yui_3_16_0_1_1456771561510_139366"></span></div><div id="yui_3_16_0_1_1456771561510_139663" dir="ltr"><span id="yui_3_16_0_1_1456771561510_139366">[root@spc02 conf]# while true; do echo | telnet 0 7911; ls -l /proc/`pgrep dhcpd`/fd | wc -l; done<br>Trying 0.0.0.0...<br>Connected to 0.<br>Escape character is '^]'.<br>Connection closed by foreign host.<br>21<br>Trying 0.0.0.0...<br>Connected to 0.<br>Escape character is '^]'.<br>Connection closed by foreign host.<br>22<br>Trying 0.0.0.0...<br>Connected to 0.<br>Escape character is '^]'.<br>Connection closed by foreign host.<br>23<br>Trying 0.0.0.0...<br>Connected to 0.<br>Escape character is '^]'.<br>Connection closed by foreign host.<br>24<br>Trying 0.0.0.0...<br>Connected to 0.<br>Escape character is '^]'.<br>Connection closed by foreign host.<br>25<br><snip></span><span id="yui_3_16_0_1_1456771561510_139366"><br>1025<br>Trying 0.0.0.0...<br>^C</span></div><div id="yui_3_16_0_1_1456771561510_139675" dir="ltr"><br><span id="yui_3_16_0_1_1456771561510_139366"></span></div><div id="yui_3_16_0_1_1456771561510_139727" dir="ltr"><span id="yui_3_16_0_1_1456771561510_139366">Once the max number of open files is reached, OMAPI becomes unresponsive even though DHCP daemon appears to still server the requests, so have to restart dhcpd after that. This is causing an issue for us as ECV checks by the load-balancer are the ones that would kill OMAPI they are supposed to monitor :)<br></span></div><div id="yui_3_16_0_1_1456771561510_139544" dir="ltr"><br><span id="yui_3_16_0_1_1456771561510_139366"></span></div><div id="yui_3_16_0_1_1456771561510_139616" dir="ltr"><span id="yui_3_16_0_1_1456771561510_139366">I also just complied and tried the same on 4.3.3 and got pretty much the same result with the only difference that dhcpd just dies completely instead of OMAPI becoming unresponsive.</span></div><div id="yui_3_16_0_1_1456771561510_139618" dir="ltr"><br><span id="yui_3_16_0_1_1456771561510_139366"></span></div><div id="yui_3_16_0_1_1456771561510_139661" dir="ltr"><span id="yui_3_16_0_1_1456771561510_139366">As I mentioned, 4.1.1 does not have this issue and above while loop keeps a number of FDs at steady 10-15 range.</span></div><div id="yui_3_16_0_1_1456771561510_139797" dir="ltr"><br></div><div id="yui_3_16_0_1_1456771561510_139828" dir="ltr">Anyone ran into this issue? Am I missing something in my config? Or this is a bug and strangely enough nobody ran into it? Ideas/suggestions?<br><span id="yui_3_16_0_1_1456771561510_139366"></span></div><div id="yui_3_16_0_1_1456771561510_139798" dir="ltr"><br><span id="yui_3_16_0_1_1456771561510_139366"></span></div><div id="yui_3_16_0_1_1456771561510_139875" dir="ltr"><span id="yui_3_16_0_1_1456771561510_139366">Thanks!</span></div><div id="yui_3_16_0_1_1456771561510_139401"> </div><div id="yui_3_16_0_1_1456771561510_139402" class="signature">Konstantin Orekhov</div></div></body></html>