👟 Reproduction steps
I have an Appwrite server on decent hardware (2 core CPU and 4 gigs of RAM).
There are many collections in my database and I use functions to retrieve and edit data before sending it to the client — functions are called very often.
I still haven’t figured out why/when exactly but at some point the server doesn’t serve functions, I can requests accumulating on the functions logs :
(this get_feed function only queries data, compacts it and send it back to the client)

At first the backend interface is still responsive but at some point other functions freeze and i’m unable to load pages or query anything.
The appwrite doctor doesn’t show any issues :

Thanks
👍 Expected behavior
It should not crash as the functions don’t require a lot of memory, and runs without any issues during my stress tests.
👎 Actual Behavior
Appwrite freezes for a while and then comes back after 15-20 minutes.
🎲 Appwrite version
Version 1.0.x
💻 Operating system
Linux
🧱 Your Environment
Only pure Appwrite is running on the server.
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
👟 Reproduction steps
I have an Appwrite server on decent hardware (2 core CPU and 4 gigs of RAM).
There are many collections in my database and I use functions to retrieve and edit data before sending it to the client — functions are called very often.
I still haven’t figured out why/when exactly but at some point the server doesn’t serve functions, I can requests accumulating on the functions logs :

(this get_feed function only queries data, compacts it and send it back to the client)
At first the backend interface is still responsive but at some point other functions freeze and i’m unable to load pages or query anything.
The appwrite doctor doesn’t show any issues :

Thanks
👍 Expected behavior
It should not crash as the functions don’t require a lot of memory, and runs without any issues during my stress tests.
👎 Actual Behavior
Appwrite freezes for a while and then comes back after 15-20 minutes.
🎲 Appwrite version
Version 1.0.x
💻 Operating system
Linux
🧱 Your Environment
Only pure Appwrite is running on the server.
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?