ActiveMQ becomes unresponsive (large pending messages in JDBC message store)
netstat shows Recv-Q buffer sizes piling up for few connections



I've around 200 virtual topics. One of the virtual topic has 80 selector
aware queues underneath it.

Around 200K pending messages across all queues. PostgresSQL as persistence
store. AMQ & RDS both instances has 15 GB rams each.

Attached jstack dump    j.lo
<http://activemq.2283324.n4.nabble.com/file/n4697094/j.lo>  

Any work around or fix?

Config snip:

                <policyEntry topic=">" producerFlowControl="false"
useCache="false" >
                   <dispatchPolicy>
                      <roundRobinDispatchPolicy />
                    </dispatchPolicy>
                  <messageGroupMapFactory>
                    <simpleMessageGroupMapFactory/>
                  </messageGroupMapFactory>
                </policyEntry>


                <policyEntry queue=">" timeBeforeDispatchStarts="5000"
producerFlowControl="false" maxPageSize="1000" useCache="false" 
expireMessagesPeriod="0" optimizedDispatch="true">
                   <dispatchPolicy>
                      <roundRobinDispatchPolicy />
                    </dispatchPolicy>
                  <messageGroupMapFactory>
                    <simpleMessageGroupMapFactory/>
                  </messageGroupMapFactory>
                  <pendingMessageLimitStrategy>
                    <constantPendingMessageLimitStrategy limit="-1"/>
                  </pendingMessageLimitStrategy>
                  <pendingQueuePolicy>
                        <fileQueueCursor />
                  </pendingQueuePolicy>
                </policyEntry>


          <systemUsage>
            <systemUsage sendFailIfNoSpaceAfterTimeout="10000">
                <memoryUsage>
                    <memoryUsage percentOfJvmHeap="70" />
                </memoryUsage>
                <storeUsage>
                    <storeUsage limit="90 gb"/>
                </storeUsage>
                <tempUsage>
                    <tempUsage limit="10 gb"/>
                </tempUsage>
            </systemUsage>
        </systemUsage>




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-Recv-Q-buffer-size-tp4697094.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to