Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Can the memory percentage be excluded from cache so that it can display real information #8033

Open
1265578519 opened this issue Feb 27, 2025 · 1 comment
Assignees
Milestone

Comments

@1265578519
Copy link

Contact Information

No response

1Panel Version

v1.10.26-lts

Problem Description

Image
[Bug] 内存百分比能否排除缓存,使其显示真实信息
ssh可以看到真实内存使用率为550MB,但是1panel显示成1.15G,占用率58%,应当排除缓存,真实内存使用率为26%

Steps to Reproduce

Image
[Bug] 内存百分比能否排除缓存,使其显示真实信息
ssh可以看到真实内存使用率为550MB,但是1panel显示成1.15G,占用率58%,应当排除缓存,真实内存使用率为26%

The expected correct result

No response

Related log output

Additional Information

No response

@wanghe-fit2cloud wanghe-fit2cloud changed the title [Bug] 内存百分比能否排除缓存,使其显示真实信息 [Bug] Can the memory percentage be excluded from cache so that it can display real information Feb 27, 2025
@wanghe-fit2cloud wanghe-fit2cloud added this to the v1.10.27-lts milestone Feb 28, 2025
@wanghe-fit2cloud
Copy link
Member

感谢反馈,我们会在近期版本优化容器内存显示问题。

igophper added a commit to igophper/1Panel that referenced this issue Mar 1, 2025
igophper added a commit to igophper/1Panel that referenced this issue Mar 3, 2025
ssongliu added a commit that referenced this issue Mar 3, 2025
…handling (#8038)

* refactor(container): optimize memory calculation and concurrent data handling

Refs #8033

* Update container.go

---------

Co-authored-by: ssongliu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants