You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (Jira)" <ji...@apache.org> on 2019/11/28 21:42:00 UTC

[jira] [Created] (DISPATCH-1502) large scale link disconnects can push memory up

Gordon Sim created DISPATCH-1502:
------------------------------------

             Summary: large scale link disconnects can push memory up
                 Key: DISPATCH-1502
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1502
             Project: Qpid Dispatch
          Issue Type: Improvement
            Reporter: Gordon Sim


If a router has some connections with large numbers of links on them, and these connections get suddenly disconnected, the memory for the router can grow quite a bit in processing the link disconnects (>30% in some cases).

The cause is that there are a large number of qdr_action_t and qdr_general_work_t instances used as the work is passed from worker thread to core and back to a worker thread again. As this happens very rapidly instances are not returned to the pool before more are needed so the pool grows (in my experiments it was growing by close to the number of links involved).



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

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