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 镜像中的 Chrome 会启动两份并极大地占用 cpu #1481

Open
SaarChaffee opened this issue Nov 17, 2024 · 4 comments
Open
Labels
env specific 特定环境限定问题 has solution 已存在解决办法

Comments

@SaarChaffee
Copy link
Member

SaarChaffee commented Nov 17, 2024

Describe the bug

19a9ee10aa7b0214615d2474351d892b

Steps to reproduce

拉取 v1.15.0 镜像并启动

Expected behavior

在 1.14.7 中,正常待机只占这么点
image

Screenshots

No response

Versions

koishijs/koishi:v1.15.0

Additional context

No response

@SaarChaffee SaarChaffee added the bug BUG label Nov 17, 2024
@Anthonydyh
Copy link

同样的问题

@wyapx
Copy link

wyapx commented Jan 13, 2025

chrome在没有GPU的容器内启动GPU进程出现的问题

在puppter插件的启动选项内添加--disable-gpu可以解决

@MaikoTan
Copy link
Member

chrome在没有GPU的容器内启动GPU进程出现的问题

在puppter插件的启动选项内添加--disable-gpu可以解决

Is it valid to make a new option for this? Say "Disable GPU Process on Startup (for HEADLESS environment like Docker)".

为此创建一个新选项是否有效?例如“启动时禁用 GPU 进程(适用于 Docker 等 HEADLESS 环境)”。

@SaarChaffee
Copy link
Member Author

SaarChaffee commented Feb 12, 2025

chrome在没有GPU的容器内启动GPU进程出现的问题
在puppter插件的启动选项内添加--disable-gpu可以解决

Is it valid to make a new option for this? Say "Disable GPU Process on Startup (for HEADLESS environment like Docker)".

为此创建一个新选项是否有效?例如“启动时禁用 GPU 进程(适用于 Docker 等 HEADLESS 环境)”。

可以加一个默认开启的选项,防止 cpu 被吃满后打不开控制台等情况。

@SaarChaffee SaarChaffee added has solution 已存在解决办法 env specific 特定环境限定问题 and removed bug BUG labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
env specific 特定环境限定问题 has solution 已存在解决办法
Projects
None yet
Development

No branches or pull requests

4 participants