Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3031

Time Synchronization Solution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 5.4.1
    • 5.6.0
    • Broker
    • None

    Description

      We had a Problem if we synchronize the time of 1.1.2000 to the actual date. The cpu load increase to 170% over a long time period. We analyse the problem and find out that is a java timer problem. We pass the classes Scheduler.java in following packages:

      1. \kahadb\src\main\java\org\apache\kahadb\util
      2. activemq-core\src\main\java\org\apache\activemq\thread

      We change the TimerTask by ScheduledThreadPoolExecutor. That was the solution. I want to discuss if that is the right solution or not. Can you analyze the classes and say if that is the right way or not? If not can you propose a solution. If yes can you release that with the next version.

      Attachments

        1. Scheduler-ActivemqCore.java
          3 kB
          Erkan
        2. Scheduler-KahaDB.java
          2 kB
          Erkan

        Activity

          People

            tabish Timothy A. Bish
            lernit.2007 Erkan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: