[fix](memory) Avoid frequently refresh cgroup memory info#35083
[fix](memory) Avoid frequently refresh cgroup memory info#35083xinyiZzz merged 2 commits intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
TeamCity be ut coverage result: |
If not enable cgroup, log will frequently print Could not find subsystem memory in /proc/self/cgroup. frequently refresh cgroup information is not necessary.
If not enable cgroup, log will frequently print Could not find subsystem memory in /proc/self/cgroup. frequently refresh cgroup information is not necessary.
…he#35083 apache#35557 (apache#3405) [fix](memory) Fix BE memory info compatible with Cgroup (apache#35412) [fix](memory) Avoid frequently refresh cgroup memory info (apache#35083) [fix](libjdk) Revert support loading libjvm at runtime (apache#35557)
Proposed changes
If not enable cgroup, log will frequently print
Could not find subsystem memory in /proc/self/cgroup.frequently refresh cgroup information is not necessary.
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...