3 Replies Latest reply on Mar 12, 2018 9:22 AM by jbertram

    How to monitor Hornet Q_Queue size

    chakravarthytn

      I'm facing the issue is, we have configured Queue size 10 MB .when ever it reaches 10 MB automatically its crashing. can any one suggest to avoid the issue is their any possibility to monitor each Queue size usage ?

       

      HornetQ version : 2.2.5.Final (HQ_2_2_5_FINAL_AS7, 121)

      JBoss verison : Jboss AS6

       

      Queue size configuration :

       

      <max-size-bytes>10485760</max-size-bytes>

        • 1. Re: How to monitor Hornet Q_Queue size
          jbertram

          Both JBoss AS 6 and HornetQ 2.2.5.Final are quite old at this point.  It's also worth noting that several years ago the HornetQ code-base was donated to the Apache ActiveMQ community and it now exists as the ActiveMQ Artemis broker.

           

          In any event, you've provided no details on what exactly you mean by "automatically its crashing." You also haven't provide much detail on the use-case which leads to this problem.  Therefore, not much help can be provided.

          • 2. Re: How to monitor Hornet Q_Queue size
            chakravarthytn

            Thanks Justin for your response.

             

            We have configured the Queue size as 10MB and once the queue reaches 10MB or more then 10MB and it got stuck. as per thread dump the queue size reaches more then 10MB. Can you pls suggest to avoid the issue is their any possibility to monitor each Queue size

             

             

             

            • 3. Re: How to monitor Hornet Q_Queue size
              jbertram

              We have configured the Queue size as 10MB and once the queue reaches 10MB or more then 10MB and it got stuck.

              What do you mean specifically by, "it got stuck"?  What got stuck?

               

              What address-full-policy are you using?

               

              as per thread dump the queue size reaches more then 10MB.

              How can you tell how large the queue is from a thread dump?

               

              Can you pls suggest to avoid the issue

              I'm still trying to understand what the issue actually is.

               

              is their any possibility to monitor each Queue size

              I don't believe the version of HornetQ has any queue or address size metrics.