[
https://issues.apache.org/jira/browse/HDDS-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lokesh Jain updated HDDS-3812:
------------------------------
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]
!image-2020-06-08-07-46-24-733.png!
> Disable netty resource leak detector in datanode
> ------------------------------------------------
>
> Key: HDDS-3812
> URL: https://issues.apache.org/jira/browse/HDDS-3812
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Major
> Attachments: image-2020-06-08-07-46-24-733.png,
> image-2020-06-08-07-46-36-931.png
>
>
> 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]
> !image-2020-06-08-07-46-24-733.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]