[ 
https://issues.apache.org/jira/browse/HDDS-13400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang updated HDDS-13400:
-----------------------------------
    Release Note: Fixed unbounded EC buffer caching in the Ozone client that 
could grow S3 Gateway memory over time. RpcClient now uses a bounded buffer 
pool (configurable via ozone.client.elastic.byte.buffer.pool.max.size, default 
16GB).

> S3g has accumulated memory pressure due to unlimited ElasticByteBufferPool in 
> RpcClient
> ---------------------------------------------------------------------------------------
>
>                 Key: HDDS-13400
>                 URL: https://issues.apache.org/jira/browse/HDDS-13400
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Client, s3gateway
>            Reporter: Sammi Chen
>            Assignee: Gargi Jaiswal
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>
> The issue is reported by Hao Guo. 
> Currently RpcClient has a ElasticByteBufferPool to reuse buffers during EC 
> data read and write. ElasticByteBufferPool can save the time of buffer 
> allocation. While this Pool doesn't have a upper limit, so in s3g case, a 
> long lived RpcClient will accumulate all buffers allocated through this pool, 
> which lead to high memory pressure of s3g.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to