Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
qpid-cpp-0.34
-
None
-
None
Description
We use the qpid-cpp-client-0.34-6.el7.x86_64 driver in one of our applications.
I'm noticing a lot of open files (to dead TCP sockets) that are being held open and it appears that they are qpid related (this project don't open any TCP connections other than what the qpid client handles).
Is there perhaps something I need to do on the underlying qpid::messaging::Connection other than call close() in order for the file descriptor to be closed?
Here's some representative output from lsof:
#lsof | grep "^cloud" | grep -v ESTABLISHED | grep TCP | head -n 1
COMMAND PID TID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cloudisti 6387 6404 root 55u sock 0,6 0t0 66423 protocol: TCP
# lsof | grep "^cloud" | grep -v ESTABLISHED | grep TCP | wc -l
192
For what its worth, we don't see this issue in another of our applications, which uses a driver built from the qpid-cpp-0.34-rc branch.