[ 
https://issues.apache.org/activemq/browse/AMQ-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50436#action_50436
 ] 

ying edited comment on AMQ-2157 at 3/11/09 1:12 PM:
----------------------------------------------------

This issue also might be related to 
https://issues.apache.org/activemq/browse/AMQ-1868

Read the comments of AMQ-1868, it helps.

When the producer blocks, it is usually because of it reaches memoryLimit:

use the following and producer side will get an exception.

<systemUsage>

 <systemUsage sendFailIfNoSpace="true">

   <memoryUsage>

     <memoryUsage limit="20 mb">

   </memoryUsage>

 </systemUsage>

</systemUsage>

      was (Author: yinghe0101):
    This issue also might be related to 
https://issues.apache.org/activemq/browse/AMQ-1868

because if I tune the memoryLimit and systemUsage, it can accept more messages 
without hang. The difference, when it hangs, consumer stops consuming which is 
bad.
  
> Network of pure master/slave hang after large number of messages
> ----------------------------------------------------------------
>
>                 Key: AMQ-2157
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2157
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.2.0
>         Environment: solaris 10
>            Reporter: ying
>            Priority: Blocker
>         Attachments: activemq-master.xml, activemq-slave.xml
>
>
> 1.I setup a network of activemq master/slave, please see attached for the 
> master and slave config. ( we plan to have 12 pairs)
> 2.I have a producer which sends message constantly >50000 msgs to a queue 
> using a loop.
> 3.I have 4 consumers which consumes from the queue
> 4.After a certain number of messages, not a fixed number, every time, the 
> broker will hang, producer is blocked and consumers are not consuming. Unless 
> I restart the broker.
> This issue might be related to 
> https://issues.apache.org/activemq/browse/AMQ-2102

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to