I often take this life. Functions do not take action. openruntimes-executor sometimes stops. What could be the reason for this?
[Error] Message: Multiple internal curl errors has occurred within the executor! Error Number: 111. Error Msg: Connection refused [Error] File: /usr/local/app/http.php [Error] Line: 1025
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 12658272 bytes) in /usr/local/vendor/utopia-php/storage/src/Storage/Device/Local.php on line 271 [2023-09-28 02:01:12 @1.0] WARNING Channel::~Channel() (ERRNO 10003): channel is destroyed, 1 consumers will be discarded
Allowed memory size/ how can i change?
Connection refused - Fatal error: Allowed memory size
Can you please share the code for this function?
You should be able to change memory with the _APP_FUNCTIONS_MEMORY environment variable.
Have a look here: https://appwrite.io/docs/environment-variables#functions
facing the same issue
do u have 2gb ram vps?
8 cpu 32 ram
only run appwrite
What version of Appwrite?
1.4.3 but now 1.4.5 and still continue same problem
When enable stats
Now all stats settings disable and no problem
Interesting....š¤
I only have 1 project and the usage details are like this.
There are 2 functions constantly running.
An extra problem.
The function listens to a database to create an event. and when the data arrives, it makes some calculations and writes it to another database table.
This event takes place, but it appears in the database 6 hours and 8 hours later. There is a delay of 6 to 8 hours in processing the data.
When _APP_USAGE_STATS=disabled, it works without any problems.
Sometimes I solve the problem by flushdb in redis.
and there is no restart here. After working for 1-2 days, the service goes down and it does not start working again.
I added restart: unless-stopped to this and solved this problem this way. š
sorry you said changing _APP_USAGE_STATS does what?
fixes the open runtimes executor memory crash problem?
Recommended threads
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...