Skip to content
Back

Self-hosted Appwrite keeps slowing down to a crawl

  • 0
  • Self Hosted
deep
2 Jul, 2025, 09:03

For some reason my self-hosted instance of Appwrite periodically slows down so much and becomes unresponsive (console, APIs, everything). I keep restarting the docker containers to fix it temporarily but I have been unable to diagnose or find a solution for this. The CPU or RAM usage is not anything out of the ordinary (less than 9% of CPU usage and about 2-3GB of RAM usage).

As for the logs, the only ones I have noticed are these

TypeScript
appwrite  | Internal curl error has occurred within the executor! Error Number: 28
appwrite  | swoole_dispatch: Risky branch: did not find a idle worker, picking random worker 9
appwrite  | swoole_dispatch: Risky branch: did not find a idle worker, picking random worker 9
appwrite  | swoole_dispatch: Risky branch: did not find a idle worker, picking random worker 10
appwrite  | swoole_dispatch: Risky branch: did not find a idle worker, picking random worker 11
appwrite  | swoole_dispatch: Risky branch: did not find a idle worker, picking random worker 11

Sometimes I will get this:

TypeScript
appwrite  | Synchronous function execution timed out. Use asynchronous execution instead, or ensure the execution duration doesn't exceed 30 seconds.

What do you think is the cause behind this issue? Do I need to upgrade my server? There are some functions which act as endpoints and are very frequently called, but I only recently ran into this issue and those functions have been around for months.

TL;DR
Self-hosted Appwrite instance experiences slowdowns leading to unresponsiveness despite normal CPU/RAM usage. Logs show internal curl errors and swoole_dispatch warnings. Consider upgrading the server due to high frequency of certain functions being called recently.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more