activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Agarwal <vi...@infoobjects.com>
Subject Load issue with ActiveMQ
Date Mon, 03 Nov 2014 09:42:51 GMT
Hi,

We are using ActiveMQ for 3+ years, however, we didn't test it under heavy
load. Recently, we started using ActiveMQ in another project where
sometimes load increases exponentially as we are listening to twitter
stream which can pile up a lot of messages depending of occurrence of some
global event like iPhone 6 launch. Now, what we are seeing in ActiveMQ
admin UI is that one of the queues gets piled up with thousands of message
ranging from 50k-100k. Now, sometimes (almost daily) the ActiveMQ crashes
in between of my sleeping hours. :( And the strange thing is that when try
to view the log file for the reason of the crash, I am not able to find the
activemq.log file at all. We earlier faced ActiveMQ crash issues, but that
was due to producer flow control and we disabled that to fix the issue and
main point is that in those cases we never had the case where the log file
was missing. I have to restart the process to fix the issue and that too,
twice because on first restart, it shows error about missing or corrupt
data log.

So, please suggest me where to look for such issue or what should be my
next move for debugging. I am stuck with missing log file.

For information here are the memory settings:

<systemUsage>
    <systemUsage>
        <memoryUsage>
            <memoryUsage limit="*256 mb*"/>
        </memoryUsage>
        <storeUsage>
            <storeUsage limit="*100 gb*"/>
        </storeUsage>
        <tempUsage>
            <tempUsage limit="*50 gb*"/>
        </tempUsage>
    </systemUsage>
</systemUsage>

And


....

....
<policyEntry memoryLimit="*10mb*" producerFlowControl="true" queue="&gt;">

....
</policyEntry>

ActiveMQ process is started with* -Xms2G and -Xmx2G* which earlier used to
be the default  *-Xms1G and -Xmx1G*

-- 
Regards,
Vikas Agarwal
91 – 9928301411

InfoObjects, Inc.
Execution Matters
http://www.infoobjects.com
2041 Mission College Boulevard, #280
Santa Clara, CA 95054
+1 (408) 988-2000 Work
+1 (408) 716-2726 Fax

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message