2 Replies Latest reply on Aug 15, 2013 7:23 AM by maciej-rosiek

    Problem with paging and receiving messages after restart

    maciej-rosiek Newbie

      Setup: HornetQ 2.3.0.Final, 1 live node / 1 backup node, standalone - running on Tomcat with Spring, 10 queues, 2 topics deployed on server. 3 producers, 8 consumers, paging enabled

       

      {code:xml}

              <address-setting match="jms.queue.#">

                  <!-- 64 MB pages -->

                  <max-size-bytes>67108864</max-size-bytes>

                  <address-full-policy>PAGE</address-full-policy>

                  <redelivery-delay>500</redelivery-delay>

                  <max-delivery-attempts>5</max-delivery-attempts>

                  <redelivery-delay-multiplier>2.0</redelivery-delay-multiplier>

                  <max-redelivery-delay>3600000</max-redelivery-delay> <!-- 1 hour -->

              </address-setting>

      {code}

       

      This happened only once but it was preety weird. One of the queues 1 day after restarting server stopped sending messages to consumers. It was receiving messages from producers, count of messages was growing but nothing was going out. Restarting server didn't help. After investigation we found out that in /data/paging directory there are empty pages (0 bytes) from the day before. After deleting them and restarting server everything came back to normal.

       

      Question

      Is this a known issue? Locally I was able to reproduce this issue using backed up 'broken'  /data directory from live server. Would you be interested into looking into this problem?