Back

[SOLVED] Function stop working after a certain time.

  • 0
  • Self Hosted
  • Functions
  • Flutter
kevinsha
6 Oct, 2023, 05:38

I have upgraded to 1.4.4

TL;DR
The user was experiencing an issue where a function stopped working after a certain time. They upgraded to version 1.4.5 and asked for assistance. They received a memory error and a warning related to a channel being destroyed. They were advised to upgrade to version 1.4.5 and check the docker logs for the openruntimes-executor container. The function worked for a while but then stopped working again. They asked for further assistance and were advised to update the docker-compose.yaml file and change 0.4.2 to 0.4.3 under the openruntimes-executor. They asked for
kevinsha
6 Oct, 2023, 05:41

@Karthik could you please tell, what is the status of the function.

kevinsha
6 Oct, 2023, 05:42

and i have found the following error in the logs

Karthik
6 Oct, 2023, 05:42

this issue while deployment

Karthik
6 Oct, 2023, 05:46

This issue while executing function

Drake
6 Oct, 2023, 18:49

You're using a 3rd party storage provider?

kevinsha
10 Oct, 2023, 04:16

yes, AWS S3

Drake
10 Oct, 2023, 04:30

Did you bump the openruntimes-executor image and then run docker compose up -d?

kevinsha
10 Oct, 2023, 05:16

these steps i have done

kevinsha
10 Oct, 2023, 05:19

what do you mean, bump the openruntimes-executor image. do you mean to remove the image ?

Infinil
10 Oct, 2023, 10:21

in docker-compose.yml file

Infinil
10 Oct, 2023, 10:21

change 0.4.2 to 0.4.3

Infinil
10 Oct, 2023, 10:21

under the openruntimes-executor

kevinsha
10 Oct, 2023, 11:05

i have update the docker-compose.yaml file and run docker compose up -d

kevinsha
10 Oct, 2023, 11:06

@Karthik could you please check

Karthik
10 Oct, 2023, 18:36

checked working for sometimes after that it stopped working

Karthik
10 Oct, 2023, 18:36
Drake
10 Oct, 2023, 19:44

what do the docker logs say for the openruntimes-executor container?

Drake
10 Oct, 2023, 19:44

btw, 1.4.5 is out. you might want to upgrade to that

kevinsha
11 Oct, 2023, 04:52
kevinsha
11 Oct, 2023, 04:53

"openruntimes-executor | Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 69632 bytes) in Unknown on line 0 openruntimes-executor | [2023-10-10 11:52:01 @1.0] WARNING Channel::~Channel() (ERRNO 10003): channel is destroyed, 1 consumers will be discarded "

kevinsha
11 Oct, 2023, 04:55

ok i will upgrade the server.

kevinsha
11 Oct, 2023, 05:04

i have upgraded to 1.4.5 and @Karthik is checking

Karthik
12 Oct, 2023, 08:33

its working

Drake
15 Oct, 2023, 03:27

[SOLVED] Function stop working after a certain time.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more