You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/09/14 05:15:00 UTC

[jira] [Commented] (PROTON-2764) Zombie raw connections

    [ https://issues.apache.org/jira/browse/PROTON-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764976#comment-17764976 ] 

ASF subversion and git services commented on PROTON-2764:
---------------------------------------------------------

Commit c542df80c51abdc52ccde9eb7b581922563e8240 in qpid-proton's branch refs/heads/main from Clifford Jansen
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=c542df80c ]

PROTON-2764: schedule failed raw connections from pn_listener_raw_accept() so they can process events and cleanup


> Zombie raw connections
> ----------------------
>
>                 Key: PROTON-2764
>                 URL: https://issues.apache.org/jira/browse/PROTON-2764
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.39.0
>            Reporter: Clifford Jansen
>            Assignee: Clifford Jansen
>            Priority: Major
>
> In writing a new threaderciser for raw connections the following scenario can result in raw connections that are never scheduled.
> If a pn_listener_raw_accept() fails due to a temporary fdlimit shortage or simultaneous close of the listener by another thread, the new raw connection is correctly set to an error state but is never scheduled for processing.  The state machine is never advanced and the raw connection resources are not cleaned up.  This also causes the PN_PROACTOR_INACTIVE event to be blocked.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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