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

Memory leak on link policy denial

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.9.0
    • Policy Engine
    • 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. A.conf
          0.9 kB
          Charles E. Rolke
        2. default.json
          0.4 kB
          Charles E. Rolke

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment