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

Closed
opened 2025-11-02 04:34:15 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @mfigrs on GitHub (Oct 5, 2018).

  • 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
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • 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?

Originally created by @mfigrs on GitHub (Oct 5, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - 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?
Author
Owner

@lunny commented on GitHub (Oct 5, 2018):

You can check if the avatars are from external website.

@lunny commented on GitHub (Oct 5, 2018): You can check if the avatars are from external website.
Author
Owner

@mfigrs commented on GitHub (Oct 5, 2018):

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!

@mfigrs commented on GitHub (Oct 5, 2018): 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2378