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] docker容器内存使用计算不准确 #4138

Closed
realzolo opened this issue Mar 9, 2024 · 10 comments
Closed

[BUG] docker容器内存使用计算不准确 #4138

realzolo opened this issue Mar 9, 2024 · 10 comments
Assignees

Comments

@realzolo
Copy link
Contributor

realzolo commented Mar 9, 2024

联系方式

[email protected]

1Panel 版本

v1.10.1-lts

问题描述

容器sftpgo显示资源占用18.76GiB,明显错误,在概览页面显示正常占用。

微信图片_20240309155218 微信图片_20240309155223 微信图片_20240309155225

重现步骤

重现:使用sftpgo传输大文件

期待的正确结果

No response

相关日志输出

No response

附加信息

No response

@wanghe-fit2cloud
Copy link
Member

可以进入 主机 - 终端,手动执行 docker stats 命令查看输出结果和 1Panel 页面显示是否一致。

@realzolo
Copy link
Contributor Author

可以进入 主机 - 终端,手动执行 docker stats 命令查看输出结果和 1Panel 页面显示是否一致。

页面显示和docker stats输出结果不一致。
微信图片_20240310150334

@wanghe-fit2cloud
Copy link
Member

页面显示和docker stats输出结果不一致。

好的,我们在本地环境也复现一下问题。

@ssongliu
Copy link
Member

麻烦添加我好友,我看看这个问题
image

@QYG2297248353
Copy link

我依旧遇见此问题 ,重启容器虽然会解决,但是这是一个Bug
@wanghe-fit2cloud

image
image

@QYG2297248353
Copy link

补充一点
容器>>更多>>监控
image

@ssongliu
Copy link
Member

ssongliu commented Apr 8, 2024

补充一点 容器>>更多>>监控 image

可以扫码加一下好友,我看看

@moriecho
Copy link

moriecho commented Jan 1, 2025

2025年了,这个问题还是没得到解决。今天我也遇到了,用1panel装transmission下载,动不动就占比96.35%

@wanghe-fit2cloud
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It’s 2025 and this problem still has not been solved. I also encountered this today. When I installed transmission download on 1panel, the share was 96.35%.

@moriecho
Copy link

moriecho commented Feb 3, 2025

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

It’s 2025 and this problem still has not been solved. I also encountered this today. When I installed transmission download on 1panel, the share was 96.35%.

经过我一段时间的研究,我猜测这并不是1panel的问题,而是transmission的问题。
以下是我的猜想:
transmission为了实现更低的物理内存占用,使用了硬盘作为虚拟内存,而这部分的虚拟内存也算在了docker界面的资源使用率中。导致主页看到的只是物理内存占用,而docker界面看到的是物理内存占用+虚拟内存

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

5 participants