You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Chester Knapp (JIRA)" <ji...@apache.org> on 2016/07/13 20:27:20 UTC

[jira] [Created] (QPID-7355) qpid-cpp-client holding open file descriptors to dead tcp sockets after connection is closed

Chester Knapp created QPID-7355:
-----------------------------------

             Summary: qpid-cpp-client holding open file descriptors to dead tcp sockets after connection is closed
                 Key: QPID-7355
                 URL: https://issues.apache.org/jira/browse/QPID-7355
             Project: Qpid
          Issue Type: Bug
          Components: C++ Client
    Affects Versions: qpid-cpp-0.34
            Reporter: Chester Knapp


We use the qpid-cpp-client-0.34-6.el7.x86_64 driver in our project.

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? 

{code}
#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
{code}

{code}
# lsof | grep "^cloud" | grep -v ESTABLISHED | grep TCP | wc -l
192
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org