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

[FEATURE]容器推送前端性能优化 #5887

Open
JAINKRE opened this issue Jul 21, 2024 · 3 comments
Open

[FEATURE]容器推送前端性能优化 #5887

JAINKRE opened this issue Jul 21, 2024 · 3 comments
Assignees

Comments

@JAINKRE
Copy link

JAINKRE commented Jul 21, 2024

1Panel 版本

v1.10.12-lts

请描述您的需求或者改进建议

使用 容器 > 镜像 > 推送 功能,导致浏览器(chrome最新版)卡死,电脑也卡的不能动:
PixPin_2024-07-21_11-52-56

推送完成后一切恢复正常,因此这个不像是电脑性能问题,任务管理器(并不是占比峰值截图,因为电脑卡的动不了了):
PixPin_2024-07-21_11-53-13

电脑参数:
PixPin_2024-07-21_11-53-30

请描述你建议的实现方案

建议优化容器推送的前端数据加载,虽说这个问题算不上是bug,但比较影响使用体验。

附加信息

No response

@zhengkunwang223
Copy link
Collaborator

感谢建议 我们先复现一下

@JAINKRE
Copy link
Author

JAINKRE commented Jul 21, 2024

本地仓库用的是harbor 测试拉取gitlab ce(2.74GB)和ee(3GB):

docker pull gitlab/gitlab-ce:17.2.0-ce.0

推送都出现了这个情况。怀疑是不是推送的容器过大,前端显示的日志状态导致的问题?

测试的时候到了浏览器内存占用3500MB最高,CPU占用30%最高,浏览器无响应。

@wanghe-fit2cloud
Copy link
Member

本地仓库用的是harbor 测试拉取gitlab ce(2.74GB)和ee(3GB):

docker pull gitlab/gitlab-ce:17.2.0-ce.0

推送都出现了这个情况。怀疑是不是推送的容器过大,前端显示的日志状态导致的问题?

测试的时候到了浏览器内存占用3500MB最高,CPU占用30%最高,浏览器无响应。

是的,后续版本针对大镜像推送功能进行优化。

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

3 participants