Closed
Description
- Gitea version (or commit ref): 1.13.2
- Git version: 2.30.1
- Operating system: FreeBSD 12.2 with gitea from pkgs
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Log gist:
Description
I had migrated the sqlite database and repositories from a Linux machine to a FreeBSD machine (both amd64 of course) and have found that the Gitea daemon will be up and running for 10-20 minutes before it goes into consuming all CPU. I attached truss (like strace) and found that the daemon was just spinning and spinning on sched_yield().
I cannot find any reproduction case, but the web UI goes completely unresponsive. Eventually, usually after I go to bed 😄 , the daemon seems to crash entirely
I'm honestly not sure how to make this a better report, if there's any useful debugging or flags I can fiddle with I'm happy to try.