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
- Broken Appwrite canβt make functions nor...
Hii guys, I was having this issue with my locally hosted Appwrite, I canβt create functions ( both template and manual), I canβt make a custom domain ( like in ...
- Bulk operations on tables with relations
Hi, if I try to perform a bulk delete on a table with relations, I get this: `289 | if (((_b = response.headers.get("content-type")) == null ? void 0 : _...
- Getting error when trying to add domain ...
we use self hosted appwrite on my company and every single time ever I tried to add a domain it shows this error on the top rigth: "Cannot read properties of un...