Uploaded image for project: 'Ranker'
  1. Ranker
  2. MGNLRANK-22

Shutting down properly timer

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 1.0.2
    • 1.0.1
    • None
    • 3
    • Yes

    Description

      Whenever the application shuts down, the Timer process linked to UbR (which is responsible for persisting the memory in DB at every defined ratio time) is not properly shut down:

      26-Sep-2023 16:49:03.382 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [magnoliaAuthor] appears to have started a thread named [user-ranker-persistence] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
      java.base@17.0.8/java.lang.Object.wait(Native Method)
      java.base@17.0.8/java.util.TimerThread.mainLoop(Timer.java:563)
      java.base@17.0.8/java.util.TimerThread.run(Timer.java:516)

      Issue reported in this slack conversation:
      https://magnolia-cms.slack.com/archives/C02RDRV2N2E/p1695740635777479

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              ricardo.gonzalez ricardo gonzalez
              ricardo.gonzalez ricardo gonzalez
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started: