go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.44k stars 5.43k forks source link

Sudden slowness of generic functions #31563

Closed KazzmanK closed 2 months ago

KazzmanK commented 3 months ago

Description

Little by little responsiveness of UI operations degraded. Now comment post, close of issue, even list of repositories may take a while.

Here is a log of single message post

Same slowness may occur if I close or reopen issue. Push and pull operations are not affected. Also unaffected - listing issues, listing commits, viewing commits or whole source code. But on root page, counters and list of repositories may be delayed, but not so badly as posting issues.

Gitea Version

1.22

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/KazzmanK/c494d60d31a48a29034fc888f3890406

Screenshots

No response

Git Version

2.44.0

Operating System

win

How are you running Gitea?

windows service

Database

SQLite

KazzmanK commented 3 months ago

The question may be "what objects and why are passed to git cat-file command so it takes tens of seconds?"

At the same time editing issue post is instant

KazzmanK commented 2 months ago

Currently identified as a storage firmware bug, specific for our workload.