PermGen memory leak. A deamon thread "CursorCleanerThread" doesn't stopped when undeploy a web application.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.11.1
    • Component/s: Monitoring
    • None
    • Environment:
      Windows 7 with sp1
      Tomcat 7
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      a thread named "MongoCleanerXXX" still at sleep state when a web application is undeployed.
      This cause a PermGen memory leak.

      The close method in Mongo try to interrupt the cleaner thread. But, that doesn't work.
      There's a try-catch block in the run() of CursorCleanerThread, it catch any Throwable, So, the interrupt may not let the thread die.

            Assignee:
            Unassigned
            Reporter:
            wpc
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: