You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Chuck Rolke (Jira)" <ji...@apache.org> on 2019/09/06 22:34:00 UTC

[jira] [Commented] (DISPATCH-1407) Memory leak on link policy denial

    [ https://issues.apache.org/jira/browse/DISPATCH-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924642#comment-16924642 ] 

Chuck Rolke commented on DISPATCH-1407:
---------------------------------------

With A.conf and default.json in your cwd, run _qdrouterd -c A.conf_
Then open a disallowed source or target.


> Memory leak on link policy denial
> ---------------------------------
>
>                 Key: DISPATCH-1407
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1407
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Policy Engine
>    Affects Versions: 1.8.0
>            Reporter: Chuck Rolke
>            Assignee: Chuck Rolke
>            Priority: Major
>         Attachments: A.conf, default.json
>
>
> 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"
>        }
>      }
>    }]
> ]
> ```



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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