Hi all,
I run a Gitea instance at work and at home. But because my personal NAS/server is a low-end server I like to see where all CPU time is going to. RAM is not a big problem.
Here are my instance details:
- FreeBSD 15 host OS (16GB DDR3, 4 core intel atom Intel® Atom® Processor C2550)
- Gitea v1.25.5 AMD64 in a Jail (container)
- sqlite3 DB config (for simplicity)
- on ZFS filesystem (single disk for now…)
- Git version 2.52.0
After some maintaince I saw it polls every 8 hours for few (non-existing) Github mirrors. I also know Gitea does some scheduled/background tasks for maintainance. I have found under admin panel → Monitoring → Trace to create some trace files. Not sure if they are pprof to create burndown chart diagram (dat files).
Here are some stats of FreeBSD top
The CPU time of 717:38 is uptime “up 1 day, 2:51”. It feels a little excessive for the small instance with only two users and 14 git repositories.
If it is needed I can upload a gitea-diagnosis zipfile of 60 seconds monitoring trace. I did not looked deep into the trace files, but I know sqlite can be a bit more intensive then a “real” database like Postgres. But it would probably be more hungry (for RAM caches).
