Skip to content

CPU 异常占用 #33926

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

Closed
zhk0603 opened this issue Mar 18, 2025 · 4 comments
Closed

CPU 异常占用 #33926

zhk0603 opened this issue Mar 18, 2025 · 4 comments
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail type/bug

Comments

@zhk0603
Copy link

zhk0603 commented Mar 18, 2025

Description

第一次创建的时候,是正常的,我重启服务器(ESIX,控制面板直接重启)之后CPU异常占用

Image

Gitea Version

1.24.0+dev-449-g1ea5216f4a

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

networks:
gitea:
external: false

services:
server:
image: docker.io/gitea/gitea:nightly
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
networks:
- gitea
volumes:
- /mnt/data/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "13000:3000"
- "12222:22"

Database

None

@zhk0603
Copy link
Author

zhk0603 commented Mar 18, 2025

Image
疯狂

@wxiaoguang
Copy link
Contributor

This issue report doesn't contain informative content.

At least, you need to clarify which process consumes that CPU, and provide evidence.

Only providing a CPU usage screenshot means nothing, what if it is a ESXi bug (some users ever reported similar problems and they said that doing a whole host reboot fixed the problem) or your server was hacked and somebody is mining on it?

@wxiaoguang wxiaoguang added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Mar 18, 2025
@zhk0603
Copy link
Author

zhk0603 commented Mar 20, 2025

This issue report doesn't contain informative content.

At least, you need to clarify which process consumes that CPU, and provide evidence.

Only providing a CPU usage screenshot means nothing, what if it is a ESXi bug (some users ever reported similar problems and they said that doing a whole host reboot fixed the problem) or your server was hacked and somebody is mining on it?

@wxiaoguang This is my internal network server, so it shouldn't be vulnerable to hacker attacks. In the Gitea admin panel, I noticed that garbage collection (GC) was happening very frequently, every few seconds. However, after I restarted the container, it returned to normal.

@wxiaoguang
Copy link
Contributor

Please refer to this one:

If there are new clues, feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail type/bug
Projects
None yet
Development

No branches or pull requests

2 participants