Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3812

Disable netty resource leak detector in datanode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None

    Description

      By default netty enables resource leak detector. However, this ends up throwing exception everytime to track the location.  

       

      For every write and for every bytebuf allocation in netty, it ends up going via this path which can hurt during concurrency and for perf.

      https://github.com/netty/netty/blob/b82258b72fdf4c733d9c4a641c6b8725b036485f/common/src/main/java/io/netty/util/ResourceLeakDetector.java#L106

      https://github.com/netty/netty/blob/b82258b72fdf4c733d9c4a641c6b8725b036485f/common/src/main/java/io/netty/util/ResourceLeakDetector.java#L591

      Attachments

        1. image-2020-06-08-07-46-36-931.png
          1.04 MB
          Lokesh Jain
        2. image-2020-06-08-07-46-24-733.png
          1.11 MB
          Lokesh Jain

        Issue Links

          Activity

            People

              ljain Lokesh Jain
              rajesh.balamohan Rajesh Balamohan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: