
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
- Problems with adding my custom domain
- Can't push functions when self-hosting o...
Hello, I'm a bit new to appwrite functions and recently hosted a fresh 1.7.4 on my portainer setup. Tried to create a new function and when trying to push it I ...
- Self-hosted, database corruption after m...
Hello, I wanted to checkout the new sites features so I upgraded the appwrite from 1.6.1 to 1.7.4, unfortunately, it looks like the main container doesn't sta...
