Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1502

large scale link disconnects can push memory up

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • 1.11.0
    • None
    • None

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              tross Ted Ross
              gsim Gordon Sim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: