You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by ft420 <ar...@gmail.com> on 2009/03/24 14:48:49 UTC

direct_producer throws resource-limit-exceeded exception

2009-mar-23 17:17:38 warning Exception received from broker: resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on message_queue by message 2601853 of size 2724 , policy: size: max=104857600, current=104854932; count: unlimited; type=flow_to_disk (qpid/broker/QueuePolicy.cpp:90) [caused by 0 \x00:\x00]

i wanted to run performance test where in
10000 msgs of size 2720Bytes would be sent by producer and getting from remote machine would be checked (listener running on other machine).

Do we need to do any settings to increase the resource limit? please let me know how to solve this problem?
Thanks


-- 
View this message in context: http://n2.nabble.com/direct_producer-throws-resource-limit-exceeded-exception-tp2526590p2526590.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.


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


Re: direct_producer throws resource-limit-exceeded exception

Posted by ft420 <ar...@gmail.com>.
thanks a ton :)


ft420 wrote:
> 2009-mar-23 17:17:38 warning Exception received from broker:
> resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on
> message_queue by message 2601853 of size 2724 , policy: size:
> max=104857600, current=104854932; count: unlimited; type=flow_to_disk
> (qpid/broker/QueuePolicy.cpp:90) [caused by 0 \x00:\x00]
> 
> i wanted to run performance test where in 10000 msgs of size
> 2720Bytes would be sent by producer and getting from remote machine
> would be checked (listener running on other machine).
> 
> Do we need to do any settings to increase the resource limit? please
> let me know how to solve this problem?

You can use the --default-queue-limit option to qpidd (see qpidd
--help); setting it to 0 turns off any default limit (and lets your
queue grow without limit).

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




-- 
View this message in context: http://n2.nabble.com/direct_producer-throws-resource-limit-exceeded-exception-tp2526590p2526814.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.


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


Re: direct_producer throws resource-limit-exceeded exception

Posted by Gordon Sim <gs...@redhat.com>.
ft420 wrote:
> 2009-mar-23 17:17:38 warning Exception received from broker:
> resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on
> message_queue by message 2601853 of size 2724 , policy: size:
> max=104857600, current=104854932; count: unlimited; type=flow_to_disk
> (qpid/broker/QueuePolicy.cpp:90) [caused by 0 \x00:\x00]
> 
> i wanted to run performance test where in 10000 msgs of size
> 2720Bytes would be sent by producer and getting from remote machine
> would be checked (listener running on other machine).
> 
> Do we need to do any settings to increase the resource limit? please
> let me know how to solve this problem?

You can use the --default-queue-limit option to qpidd (see qpidd
--help); setting it to 0 turns off any default limit (and lets your
queue grow without limit).

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