Gordon Sim wrote:
On 11/09/2009 10:43 PM, xinfang wrote:

i want to tested how many subscription support under on one connection now i
do created 100 producer under one connection . each topic have a one
producer. for receiver side i also create 100 consumer under one connection
. also echo topic have one consumer to listen the message, but running
around 10 minute the result is broker is crush(out of memory)

more info:
topic type is fanout. network is 1gb . Server mem:8GB, qpid version:0.5 c++

Most likely one or more queues are backing up. Try using qpid-stat or qpid-tool to figure out whether there are specific queues that build up or whether they are all affected the same way. The qpid-stat tool gives you enqueue- and dequeue rates per queue; do the reported values match your expectations?

What client are you using? You can try speeding up the consumer by tweaking the acking interval and prefetching perhaps.

BTW, if one of the queues are backed up, set a ring or reject policy on the queue to protect the broker.

Carl.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to