Skip to content

Can not get jemalloc-memory-analysis by memz api from doris-3.0.6.1 #7

@QuakeWang

Description

@QuakeWang

When #6 this pr merged, we can easily get memz by the CLI tool. But I have tested this in Doris-3.0.6.1, which may not work.

Image

So I used the following command to find out why, which returned the 404 Not Found.

curl http://127.0.0.1:8040/memz
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
</BODY></HTML>

And there is also no memz found in curl http://127.0.0.1:8040/, which suggests that it should not be supported in Doris-3.0.6.1. However, considering that the current mainstream version does not use 3.0.6.1, this feature will be supported first. Later versions will be adapted according to the official Doris API.

 curl http://127.0.0.1:8040/

<!DOCTYPE html>
<html>
  <head>
    <title>Doris</title>
    <meta charset='utf-8'/>
    <link href='/Bootstrap-3.3.7/css/bootstrap.min.css' rel='stylesheet' media='screen' />
    <link href='/Bootstrap-3.3.7/css/bootstrap-table.min.css' rel='stylesheet' media='screen' />
    <script src='/jQuery-3.6.0/jquery-3.6.0.min.js'></script>
    <script src='/Bootstrap-3.3.7/js/bootstrap.min.js' defer></script>
    <script src='/Bootstrap-3.3.7/js/bootstrap-table.min.js' defer></script>
    <script src='/doris.js' defer></script>
    <link href='/doris.css' rel='stylesheet' />
  </head>
  <body>
    <nav class="navbar navbar-default">
      <div class="container-fluid">
        <div class="navbar-header">
          <a class="navbar-brand" style="padding-top: 5px;" href="/">
            <img src="/logo.png" width='40' height='40' alt="Doris" />
          </a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav">

            <li><a class="nav-link"href="/cpu">CPU Profile</a></li>

            <li><a class="nav-link"href="/heap">Heap Profile</a></li>

            <li><a class="nav-link"href="/mem_tracker">MemTracker</a></li>

            <li><a class="nav-link"href="/profile">Process Profile</a></li>

            <li><a class="nav-link"href="/tablets_page">Tablets</a></li>

            <li><a class="nav-link"href="/threadz">Threads</a></li>

            <li><a class="nav-link"href="/varz">Configs</a></li>

          </ul>
        </div><!--/.nav-collapse -->
      </div><!--/.container-fluid -->
    </nav>



<h2>Version Info</h2>
<pre> version doris-3.0.6.1-rc01(AVX2) RELEASE (build git://vm-18@d89d2b9daba48d309c833381cc19ae24b13b2e9f)
Built on Tue, 01 Jul 2025 17:49:51 3Z by vm-18</pre>
<h2>Hardware Info</h2>
<h3>CPU Info</h3>
<pre>Cpu Info:
  Model: Intel(R) Xeon(R) Platinum
  Cores: 8
  Max Possible Cores: 8
  L1 Cache: 32.00 KB (Line: 64.00 B)
  L2 Cache: 1.00 MB (Line: 64.00 B)
  L3 Cache: 33.00 MB (Line: 64.00 B)
  Hardware Supports:
    ssse3
    sse4_1
    sse4_2
    popcnt
    avx
    avx2
  Numa Nodes: 1
  Numa Nodes of Cores: 0-&gt;0 | 1-&gt;0 | 2-&gt;0 | 3-&gt;0 | 4-&gt;0 | 5-&gt;0 | 6-&gt;0 | 7-&gt;0 |
</pre>
<h3>Memory Info</h3>
<pre>Physical Memory: 15797493760
Memory Limt: 14217744384
CGroup Info: Process CGroup Memory Info (cgroups path: /sys/fs/cgroup/user.slice/user-0.slice/session-1.scope, cgroup version: v2): memory limit: 9223372036854775807, memory usage: 2775524464
</pre>
<h3>Disk Info</h3>
<pre>Disk Info:
  Num disks 2: loop, vda
</pre>

    </div>

    <footer class="footer"><div class="container text-muted">
      <pre> version doris-3.0.6.1-rc01(AVX2) RELEASE (build git://vm-18@d89d2b9daba48d309c833381cc19ae24b13b2e9f)</pre>
    </div></footer>

  </body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions