[ 
https://issues.apache.org/jira/browse/PROTON-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Clifford Jansen resolved PROTON-2203.
-------------------------------------
    Resolution: Fixed

Added a test to prevent duplicate listener socket rearming when fds run out.

The old rearming logic was per kernel socket. Now it is per logical listener 
with multiple sockets and backlog draining. The old locking logic with the 
context mutex and the rearm_mutex conflated the two. In the new model, there is 
reduced contention for the context mutex as everything is now serialized via 
the poller/scheduler. Discarding the rearm_mutex should have negligible 
performance impact and simplify the code (and make Coverity happier).

 

> Assertion error in new proactor code
> ------------------------------------
>
>                 Key: PROTON-2203
>                 URL: https://issues.apache.org/jira/browse/PROTON-2203
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.31.0
>         Environment: Linux with epoll driver.
>            Reporter: Clifford Jansen
>            Priority: Major
>
> The fd limit test, temporarily turned off in the main code, is showing an 
> assertion error in the fd limit part of the code.  That's karma for you.
>  
>   epoll.c:847: proactor_rearm_overflow: Assertion `!a->armed' failed.



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

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

Reply via email to