You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "yinshuwei (JIRA)" <ji...@apache.org> on 2012/05/29 10:31:22 UTC

[jira] [Created] (QPID-4025) connections leak

yinshuwei created QPID-4025:
-------------------------------

             Summary: connections leak
                 Key: QPID-4025
                 URL: https://issues.apache.org/jira/browse/QPID-4025
             Project: Qpid
          Issue Type: Bug
          Components: C++ Client
    Affects Versions: 0.16
         Environment: win7
            Reporter: yinshuwei


   I used this command:
spout -c 110  -b IP:port  --content  anything "q; {create:always,  node:{type:queue, durable:true, x-declare:{arguments:{qpid.max_count:100,qpid.max_size:1024,qpid.policy_type:reject}}}}"
 
   But I got the exception:"session-busy: Session detached by peer" and the log :"2012-05-29 15:55:54 warning Exception received from broker: resource-limit-excee
ded: resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on q, pol
icy: size: max=1024, current=700; count: max=100, current=100; type=reject (D:\c
lib\qpidc-0.16\src\qpid\broker\QueuePolicy.cpp:87) [caused by 103 "
    I think when resource limit exceeded the connection should not be closed.Because more seriously,if I reconnect to the server in this case over and over,the server's connection limit will exceed.It seems that the client's connection is closed,but the server side still keep the connections.But when the client exit,the server side connections will be released.


   


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-4025) connections leak

Posted by "yinshuwei (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286239#comment-13286239 ] 

yinshuwei commented on QPID-4025:
---------------------------------

But access Linux servers broker with the same command is OK,no exception.
                
> connections leak
> ----------------
>
>                 Key: QPID-4025
>                 URL: https://issues.apache.org/jira/browse/QPID-4025
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>    Affects Versions: 0.16
>         Environment: win7
>            Reporter: yinshuwei
>              Labels: patch
>
>    I used this command:
> spout -c 110  -b IP:port  --content  anything "q; {create:always,  node:{type:queue, durable:true, x-declare:{arguments:{qpid.max_count:100,qpid.max_size:1024,qpid.policy_type:reject}}}}"
>  
>    But I got the exception:"session-busy: Session detached by peer" and the log :"2012-05-29 15:55:54 warning Exception received from broker: resource-limit-excee
> ded: resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on q, pol
> icy: size: max=1024, current=700; count: max=100, current=100; type=reject (D:\c
> lib\qpidc-0.16\src\qpid\broker\QueuePolicy.cpp:87) [caused by 103 "
>     I think when resource limit exceeded the connection should not be closed.Because more seriously,if I reconnect to the server in this case over and over,the server's connection limit will exceed.It seems that the client's connection is closed,but the server side still keep the connections.But when the client exit,the server side connections will be released.
>    

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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