[fix](docs) update removed BE /memz page reference to /profile in Jemalloc memory analysis#3973
Open
spaces-X wants to merge 1 commit into
Open
[fix](docs) update removed BE /memz page reference to /profile in Jemalloc memory analysis#3973spaces-X wants to merge 1 commit into
spaces-X wants to merge 1 commit into
Conversation
…alloc memory analysis The BE `/memz` web page was removed in #41310 (Support Memory Profile, in Doris since 3.0.4). The raw Jemalloc profile is now shown in the **Jemalloc Profiles** section under **Memory Info** on the Process Profile page `/profile`. Update all `/memz` references in the Jemalloc memory analysis doc (English dev/4.x/3.x and Chinese current/4.x/3.x) to point to `/profile`. The 2.1 docs still reference `/memz` correctly and are left unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
The BE
/memzweb page was removed in #41310 ([opt](memory) Support Memory Profile), which has been in Doris since 3.0.4 (picked to branch-3.0 via #44945). The current BE code registers no/memzpage — the raw Jemalloc profile (tcache_bytes, theextentstable,Allocated/active/metadata/resident/retained, etc.) is now produced byjemalloc_stats_print(...)in the Jemalloc Profiles section under Memory Info on the Process Profile page/profile(be/src/service/http/default_path_handlers.cpp).The Jemalloc memory analysis doc still tells users to open
http://{be_host}:{be_web_server_port}/memz, which no longer exists (the page is gone;/mem_trackerprints an "offline, please use Process Profile" notice).What changed
Redirect every
/memzreference in the Jemalloc memory analysis doc to/profile, pointing at the Memory Info → Jemalloc Profiles section. All surrounding explanatory content is unchanged.Files updated (3 occurrences each):
docs/.../memory-analysis/jemalloc-memory-analysis.md(English, dev)versioned_docs/version-4.x/.../jemalloc-memory-analysis.mdversioned_docs/version-3.x/.../jemalloc-memory-analysis.mdi18n/zh-CN/.../current/.../jemalloc-memory-analysis.mdi18n/zh-CN/.../version-4.x/.../jemalloc-memory-analysis.mdi18n/zh-CN/.../version-3.x/.../jemalloc-memory-analysis.mdThe
version-2.1docs are intentionally left unchanged:/memzstill exists in 2.1.Notes
The
overview.mdandglobal/query/load-memory-analysis.mddocs in the same directory still reference the removed/mem_tracker?type=*pages. Those require a larger, version-aware rewrite against the newMemoryProfilehierarchy (which differs between 3.x and 4.x) and are intentionally out of scope for this PR.