All, 

I am fairly new to AMQ and am facing following issues:- 

1) Store percent usage does not decrease. It goes upto 50% and then very
slowly comes down to about 9% and stays there even after producer has
stopped sending messages. It never reaches back to 0%. I found this issue
even after specifying cleanupInterval=30000.

2) Memory percent usage jumps to 60% when 3 producers are sending about 350K
events each - continuously.

3) I have explicitly specified amqPersistenceAdapter . In that case, would I
be getting default values for configuration attributes of AMQ store. Eg:-
cleanupInterval,archiveDataLogs? 
I have a single consumer - that is stable and many producers (continuous as
well as random timed)

Short version of activemq.xml looks like:- 

Seems xml format did not appear n previous post. This is short version of
activemq config file


        <persistenceAdapter>
                <amqPersistenceAdapter directory="activemq-data"
maxFileLength="30mb" />
        </persistenceAdapter>

       <destinationPolicy>
            <policyMap>
                <policyEntries>

                   
                    <policyEntry
                       queue="xyz.channels>"
                       producerFlowControl="false"
                       memoryLimit="100mb" >
                     
                       <deadLetterStrategy>
                           <individualDeadLetterStrategy
processExpired="false" />
                       </deadLetterStrategy>
                    </policyEntry>
                   
                   
                    <policyEntry
                        topic="topic1"
                        producerFlowControl="false"  >

                        <dispatchPolicy>
                            <strictOrderDispatchPolicy />
                        </dispatchPolicy>
                        <subscriptionRecoveryPolicy>
                            <fixedSizedSubscriptionRecoveryPolicy
maximumSize="1000" />
                        </subscriptionRecoveryPolicy>
                    </policyEntry>

                </policyEntries>
            </policyMap>
        </destinationPolicy>

        <!-- Use the following to configure how ActiveMQ is exposed in JMX
-->
        <managementContext>
            <managementContext
                connectorPort="1099"
                jmxDomainName="org.apache.activemq"
                createConnector="true" />
        </managementContext>
     
        <!--  The maximum amount of space the broker will use before slowing
down producers -->
        <systemUsage>
            <systemUsage sendFailIfNoSpace="true">
                <memoryUsage>
                    <memoryUsage limit="350 mb" percentUsageMinDelta="20" />
                </memoryUsage>
                <storeUsage>
                    <storeUsage limit="2 gb" name="foo"/>
                </storeUsage>
                <tempUsage>
                    <tempUsage limit="500 mb"/>
                </tempUsage>
            </systemUsage>
        </systemUsage>

        <!-- The transport connectors ActiveMQ will listen to -->
        <transportConnectors>
            <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
            <!-- Uncomment to enable SSL connections
            <transportConnector name="ssl" uri="ssl://0.0.0.0:61617"/>
            -->
        </transportConnectors>

    </broker> 

I am kind of stuck on above issues for a long duration now and would really
appreciate any help on them. Thanks 

-- 
View this message in context: 
http://activemq.2283324.n4.nabble.com/Store-percent-usage-not-decreasing-activemq-xml-settings-tp3004868p3004868.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to