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
- Invalid query: Query on attribute has gr...
I cannot view the table within the Console
- 1:1 relationship doesnβt sync after re-a...
Hi, Iβm trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...