<div dir="ltr"><div><div><div><div>Sandro,<br><br></div>I know that we reconnect several times during hosted engine process. Do we close client when it is not used anymore?<br><br></div>Please provide lsof for the process and the log.<br><br></div>Thanks,<br></div>Piotr<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 23, 2016 at 8:42 AM, Sandro Bonazzola <span dir="ltr">&lt;<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>MainThread::WARNING::2016-05-23 07:09:38,629::hosted_engine::480::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Unexpected error</div><div>Traceback (most recent call last):</div><div>  File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py&quot;, line 444, in start_monitoring</div><div>    self._initialize_vdsm()</div><div>  File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py&quot;, line 635, in _initialize_vdsm</div><div>    timeout=envconstants.VDSCLI_SSL_TIMEOUT</div><div>  File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/util.py&quot;, line 187, in connect_vdsm_json_rpc</div><div>    requestQueue=requestQueue,</div><div>  File &quot;/usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py&quot;, line 222, in connect</div><div>    responseQueue)</div><div>  File &quot;/usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py&quot;, line 212, in _create</div><div>    lazy_start=False)</div><div>  File &quot;/usr/lib/python2.7/site-packages/yajsonrpc/stompreactor.py&quot;, line 576, in StandAloneRpcClient</div><div>    reactor = Reactor()</div><div>  File &quot;/usr/lib/python2.7/site-packages/yajsonrpc/betterAsyncore.py&quot;, line 200, in __init__</div><div>    self._wakeupEvent = AsyncoreEvent(self._map)</div><div>  File &quot;/usr/lib/python2.7/site-packages/yajsonrpc/betterAsyncore.py&quot;, line 164, in __init__</div><div>    map=map</div><div>  File &quot;/usr/lib64/python2.7/asyncore.py&quot;, line 650, in __init__</div><div>    self.set_file(fd)</div><div>  File &quot;/usr/lib64/python2.7/asyncore.py&quot;, line 657, in set_file</div><div>    self.socket = file_wrapper(fd)</div><div>  File &quot;/usr/lib64/python2.7/asyncore.py&quot;, line 616, in __init__</div><div>    self.fd = os.dup(fd)</div><div>OSError: [Errno 24] Too many open files</div><div><br></div><div>Simone, Rafael, Piotr, Martin, can you please investigate?</div><div><br></div><div>vdsm-yajsonrpc-4.18.0-16.git51df339.el7.centos.noarch<br></div><div>ovirt-hosted-engine-ha-2.0.0-0.2.master.20160520143206.20160520143149.gita012f18.el7.noarch<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div></div></div>
</font></span></div>
</blockquote></div><br></div>