Skip to content

Very slow to load pages @1.21.7 #29585

Closed
@Ai-ZJ

Description

@Ai-ZJ

Description

It's very fast when i visit admin/config page.
But when visit the pull page, load time may be longer than 7000ms

Gitea Version

1.21.7

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

2024/03/04 19:50:27 ...s/process/manager.go:231:remove() [T] Done 65e5b583-4: git(dir:/var/lib/gitea/data/gitea-repositories/libs-self-dev.git): /usr/bin/git -c credential.helper= -c filter.lfs.required= -c filter.lfs.smudge= -c filter.lfs.clean= diff --shortstat 43258f1f35c85176b5b74a36f315c2bd1cc8ec1a...fc14063a434695f92b5ce614e411f3df05f4c489
2024/03/04 19:50:29 ...eb/routing/logger.go:68:func1() [W] router: slow      GET /libs-self-dev/pulls/1 for 36.24.136.57:58283, elapsed 3197.5ms @ repo/issue.go:1329(repo.ViewIssue)
2024/03/04 19:50:29 ...dules/git/command.go:290:Run() [D] git.Command.RunDir(/var/lib/gitea/data/gitea-repositories/libs-self-dev.git): /usr/bin/git -c credential.helper= -c filter.lfs.required= -c filter.lfs.smudge= -c filter.lfs.clean= rev-parse

Git Version

No response

Operating System

No response

How are you running Gitea?

running gitea downloaded as a binary from https://dl.gitea.com/gitea/1.21.7/gitea-1.21.7-darwin-10.12-amd64 as a systemd service under ubuntu

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions