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

Memory leak on link policy denial

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Policy Engine
    • Labels:
      None

      Description

      A router with a simple policy that denies most addresses starts and uses 10M bytes of memory. A test client loops 25k times opening a link to a denied address over a single connection and session. Now the router uses 276 Mbytes.

      An example policy is

      ```
      [
      ["vhost", {
      "hostname": "$default",
      "allowUnknownUser": true,
      "groups" : {
      "$default":

      { "remoteHosts": "*", "allowDynamicSource": true, "allowAnonymousSender": true, "sources": "$management, examples, q1", "targets": "$management, examples, q1" }

      }
      }]
      ]

      ```

        Attachments

        1. default.json
          0.4 kB
          Charles E. Rolke
        2. A.conf
          0.9 kB
          Charles E. Rolke

          Activity

            People

            • Assignee:
              chug Charles E. Rolke
              Reporter:
              chug Charles E. Rolke
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: