Tim Taylor created PROTON-2347:
----------------------------------

             Summary: Reactor leaks file handles when an IO Exception is 
encountered
                 Key: PROTON-2347
                 URL: https://issues.apache.org/jira/browse/PROTON-2347
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-j
    Affects Versions: proton-j-0.33.8
         Environment: Windows 10 desktop
            Reporter: Tim Taylor
             Fix For: proton-j-future
         Attachments: repro.txt

When I try to open a connection using proton-j while my machine doesn't have 
internet access, I see that proton-j leaks file descriptors. Attached is the 
sample I wrote that repro's this issue.  I'm looking either for guidance on how 
to handle IOExceptions in the onTransportError callback, or for a confirmation 
that what I'm doing to handle them is correct, and that there is a bug in 
proton-j around this scenario.

 

If you need help viewing the file descriptor count growing over time, the 
[process explorer 
tool|https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer] 
is what I've been using. Running the sample in a loop will make this leak more 
obvious, but it isn't required to leak the file descriptors. This same bug 
seems to happen in Linux and MacOS as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to