You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by doublefox1981 <33...@qq.com> on 2009/04/17 05:18:39 UTC

the broker memory leak?

i test my application, but found the c++ broker memory increase all the time.

and in my client show that:

2009-apr-17 11:22:02 warning Exception received from broker: resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on client199cf78d1-16d46-14f9c-1b597-113272b5a1a9b by message 1895 of size 55358 , policy: size: max=104857600, current=104848052; count: unlimited; type=flow_to_disk (qpid/broker/QueuePolicy.cpp:90) [caused by 2748379 \x00:\x00]
terminate called after throwing an instance of 'qpid::framing::ResourceLimitExceededException'
  what():  resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on client199cf78d1-16d46-14f9c-1b597-113272b5a1a9b by message 1895 of size 55358 , policy: size: max=104857600, current=104848052; count: unlimited; type=flow_to_disk (qpid/broker/QueuePolicy.cpp:90)
-- 
View this message in context: http://n2.nabble.com/the-broker-memory-leak--tp2644394p2644394.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Re: the broker memory leak?

Posted by doublefox1981 <33...@qq.com>.
i get the lated version of dotnet, and the follow the "dotnet\client-010\readme.txt", but when excute the codegen script, error occur. it says that "no module name templating", by this line"from templating import Parser". where can i obtain the templating module?
-- 
View this message in context: http://n2.nabble.com/the-broker-memory-leak--tp2644394p2654274.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Re: the broker memory leak?

Posted by doublefox1981 <33...@qq.com>.
i only run the example "request&response", the request peer use dotnet, and the response peer use c++, maybe some messages not acknowledged at dotnet. but i don't know howto.
 
------------------
何文辉



 
 
  
 ------------------ Original ------------------ 
  From: "Gordon Sim (via Nabble)"<ml...@n2.nabble.com>;
 Date: 2009年4月17日(星期五) 晚上8:57
 To: "doublefox1981"<33...@qq.com>; 
 Subject: Re: the broker memory leak?

  
doublefox1981 wrote: 
> i test my application, but found the c++ broker memory increase all the time. 
> 
> and in my client show that: 
> 
> 2009-apr-17 11:22:02 warning Exception received from broker: resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on client199cf78d1-16d46-14f9c-1b597-113272b5a1a9b by message 1895 of size 55358 , policy: size: max=104857600, current=104848052; count: unlimited; type=flow_to_disk (qpid/broker/QueuePolicy.cpp:90) [caused by 2748379 \x00:\x00] 
> terminate called after throwing an instance of 'qpid::framing::ResourceLimitExceededException' 
>   what():  resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on client199cf78d1-16d46-14f9c-1b597-113272b5a1a9b by message 1895 of size 55358 , policy: size: max=104857600, current=104848052; count: unlimited; type=flow_to_disk (qpid/broker/QueuePolicy.cpp:90) 

This means that you are enqueing faster than you are dequeing, the queue 
is growing continually and eventually reaches the default size limit. 

You can change the size limit, but perhaps there is something not 
working in the application. Are all messages that are sent being 
received and acknowledged? 

--------------------------------------------------------------------- 
Apache Qpid - AMQP Messaging Implementation 
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@... 



 
 This email is a reply to your post @ http://n2.nabble.com/the-broker-memory-leak--tp2644394p2649730.html
You can reply by email or by visting the link above.
-- 
View this message in context: http://n2.nabble.com/the-broker-memory-leak--tp2644394p2654268.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.

Re: the broker memory leak?

Posted by Gordon Sim <gs...@redhat.com>.
doublefox1981 wrote:
> i test my application, but found the c++ broker memory increase all the time.
> 
> and in my client show that:
> 
> 2009-apr-17 11:22:02 warning Exception received from broker: resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on client199cf78d1-16d46-14f9c-1b597-113272b5a1a9b by message 1895 of size 55358 , policy: size: max=104857600, current=104848052; count: unlimited; type=flow_to_disk (qpid/broker/QueuePolicy.cpp:90) [caused by 2748379 \x00:\x00]
> terminate called after throwing an instance of 'qpid::framing::ResourceLimitExceededException'
>   what():  resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on client199cf78d1-16d46-14f9c-1b597-113272b5a1a9b by message 1895 of size 55358 , policy: size: max=104857600, current=104848052; count: unlimited; type=flow_to_disk (qpid/broker/QueuePolicy.cpp:90)

This means that you are enqueing faster than you are dequeing, the queue 
is growing continually and eventually reaches the default size limit.

You can change the size limit, but perhaps there is something not 
working in the application. Are all messages that are sent being 
received and acknowledged?

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org