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
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:
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.
Recommended threads
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- general_bad_request when creating accoun...
I have created a new bug request, could anyone have a look - https://github.com/appwrite/appwrite/issues/11908?
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...