Skip to content

HDDS-11234. [doc] Manage Netty native memory consumption#448

Closed
smengcl wants to merge 1 commit into
apache:masterfrom
smengcl:HDDS-11234-config-doc
Closed

HDDS-11234. [doc] Manage Netty native memory consumption#448
smengcl wants to merge 1 commit into
apache:masterfrom
smengcl:HDDS-11234-config-doc

Conversation

@smengcl
Copy link
Copy Markdown
Contributor

@smengcl smengcl commented May 24, 2026

What changes were proposed in this pull request?

Companion doc of apache/ozone#10354

What is the link to the Apache Jira?

apache/ozone#10354

How was this patch tested?

  • n/a

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new troubleshooting document to help operators diagnose and cap Netty native (direct) memory usage in Ozone daemons (notably DataNode and S3 Gateway), addressing scenarios where RSS grows significantly beyond the JVM heap due to Netty’s pooled direct-buffer allocator.

Changes:

  • Documented symptoms and root cause of high native/direct memory usage (Netty pooled allocator behavior).
  • Added recommended mitigation via Netty system properties (both unshaded Netty and Ratis-shaded Netty) and how to configure them through ozone-env.sh env vars.
  • Provided initial sizing guidance and pointed to relevant Ozone NettyMetrics for observability.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@smengcl smengcl added the docs Changes updating documentation on the website label May 26, 2026
@smengcl smengcl closed this May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Changes updating documentation on the website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants