+++ This bug was initially created as a clone of Bug #1343005 +++ The connection to vdsm is mimicking xml-rpc behavior of always creating a new client for each call. This should be changed to reuse the client instead of wasting resources
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
The original problem of vdsm not closing FDs was solved by VDSM. There is no real impact here.
Raising severity a bit. Log is a bit flooded right now with the messages about the connections.
Raising severity a bit. Log is a bit flooded right now with the messages about the connections and the daemon is taking quite a bit of CPU: 3379 vdsm 20 0 551460 74804 6508 R 25.2 1.2 2:47.37 /usr/bin/python /usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent --no-daemon 4045 qemu 20 0 4517760 2.107g 10588 S 5.6 36.2 1:54.68 /usr/libexec/qemu-kvm -name HostedEngine -S -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu SandyBridge -m 3800 -realtime
VDSM is not leaking anymore and this has negligible impact, lowering the priority
*** Bug 1383108 has been marked as a duplicate of this bug. ***
*** Bug 1383118 has been marked as a duplicate of this bug. ***
According to Piotr, I'm hitting this bug when I see this in my logs: # grep ERROR /var/log/vdsm/vdsm.log | tail JsonRpc (StompReactor)::ERROR::2016-11-11 09:52:40,513::betterAsyncore::113::vds.dispatcher::(recv) SSL error during reading data: unexpected eof JsonRpc (StompReactor)::ERROR::2016-11-11 09:52:44,125::betterAsyncore::113::vds.dispatcher::(recv) SSL error during reading data: unexpected eof JsonRpc (StompReactor)::ERROR::2016-11-11 09:52:47,805::betterAsyncore::113::vds.dispatcher::(recv) SSL error during reading data: unexpected eof JsonRpc (StompReactor)::ERROR::2016-11-11 09:52:51,385::betterAsyncore::113::vds.dispatcher::(recv) SSL error during reading data: unexpected eof JsonRpc (StompReactor)::ERROR::2016-11-11 09:53:04,945::betterAsyncore::113::vds.dispatcher::(recv) SSL error during reading data: unexpected eof JsonRpc (StompReactor)::ERROR::2016-11-11 09:53:11,932::betterAsyncore::113::vds.dispatcher::(recv) SSL error during reading data: unexpected eof JsonRpc (StompReactor)::ERROR::2016-11-11 09:53:12,163::betterAsyncore::113::vds.dispatcher::(recv) SSL error during reading data: unexpected eof JsonRpc (StompReactor)::ERROR::2016-11-11 09:53:16,252::betterAsyncore::113::vds.dispatcher::(recv) SSL error during reading data: unexpected eof JsonRpc (StompReactor)::ERROR::2016-11-11 09:53:19,870::betterAsyncore::113::vds.dispatcher::(recv) SSL error during reading data: unexpected eof JsonRpc (StompReactor)::ERROR::2016-11-11 09:53:23,460::betterAsyncore::113::vds.dispatcher::(recv) SSL error during reading data: unexpected eof
Both patches are merged. What else is needed here?
That patches are jut about correctly closing the old connection to avoid memory leakages. To properly reuse a single connection we miss all the keep alive and reconnect on failure logic; indeed it depends on 1376843 which got re-targeted to 4.2
*** This bug has been marked as a duplicate of bug 1417708 ***