Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-2083

Timer thread leak when log level is DEBUG

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • util
    • None

    Description

      During a DN issue investigation, it's found that there are thousands of Timer threads in the jstack output. A further investigation shows that Ratis creates new Timer() in every SlidingWindow#RequestMap object when log level is debug. See the attached jstack file.

      Attachments

        Issue Links

          Activity

            People

              Sammi Sammi Chen
              Sammi Sammi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m