Gitea: Extremely slow response from Gitea - in Docker on a Synology server

Created on 5 Oct 2018  路  2Comments  路  Source: go-gitea/gitea

  • Gitea version (or commit ref): 38d8b8c built with: bindata, sqlite
  • Git version: 2.15.2
  • Operating system: Synology DSM 6.1.x
  • Database (use [x]):

    • [ ] PostgreSQL

    • [x] MySQL

    • [ ] MSSQL

    • [ ] SQLite

  • Can you reproduce the bug at https://try.gitea.io:

    • [ ] Yes (provide example URL)

    • [ ] No

    • [x] Not relevant

  • Log gist:

Description

I am running Gitea on an Xpenology (Synology) server in Docker. Machine itself is pretty powerful: Core i7 with 4GB ram. The container for Gitea has no restrictions on memory and limit for processor is set on "high".
However, even for a simple refresh of a page I have to wait 1-2 minutes! Gitea is completely unusable this way (aside from other problems). I routinely see times like this:
漏 Gitea Version: 38d8b8c Page: 120018ms Template: 120011ms

That was after I sign in. When I sign out, the times are:
漏 Gitea Version: 38d8b8c Page: 0ms Template: 0ms

It seems that Gitea is actually waiting for something for 60-120 seconds and then responding. Any idea what might be causing this? And more importantly - how to fix it?

Most helpful comment

You can check if the avatars are from external website.

All 2 comments

You can check if the avatars are from external website.

That did the trick - thank you! After disabling avatars completely I get this:
漏 Gitea Version: 38d8b8c Page: 22ms Template: 3ms

That is now workable. Thanks again!

Was this page helpful?
0 / 5 - 0 ratings