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
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...