Skip to content

Error when accessing a commit with lots of file changes #26141

Open
@Lifeismana

Description

@Lifeismana

Description

When accessing a commit with around 6000 files changes in it, it results in a 404 error after around 10min and any subsequent commit can't be accessed due to the same error but commit before that big one are fine
Repo is around 15GB (14GB of pngs) so i didn't try on the gitea demo website because i assume i won't be able to put it there but i can provide the repo if that could help to repro the problem

looking at the resource usage, when the request is running, VM has around 95% memory usage but cpu wise it seems to be only using 1 core ( git seems to be using around 12GB of ram)
(i could try to throw a bit more ram at it but i'm kinda running out of free ram)

Gitea Version

1.21.0+dev-364-gebb98d724

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/Lifeismana/39b4063594375c2d3e0e78a2a1109838#file-error-log

Screenshots

No response

Git Version

2.40.1

Operating System

Debian

How are you running Gitea?

Docker using the official image with a postgresql db

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions