Skip to content

Gitea consumes excessive CPU and RAM when mirror tokens expire #34916

Open
@crazyuploader

Description

@crazyuploader

Description

My Gitea instance, running in Docker, experienced excessive CPU and RAM usage (CPU maxed out, ~12 GB RAM) when several mirrored repositories failed to sync due to expired GitLab tokens. Instead of failing gracefully, Gitea repeatedly attempted to sync these mirrors, leading to resource exhaustion.

Gitea Version

1.24.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Image

Image

Image

After putting the updated tokens, and restarting the container seems to solve the problem as can be seen below -

Image

Git Version

2.49.0

Operating System

Ubuntu 22.04.5 LTS

How are you running Gitea?

Using official Gitea Docker Images, and running it in a Docker Container.

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions