
Function timed out during cold start.\nError Code: 400

randomly super simple function gets Function timed out during cold start.
It just counts documents in the collection using an offset, but if it's gonna error it should error like a man

I have 50 workers enabled

upgraded executor to 0.5.7, will report back

@Steven
Internal curl errors has occurred within the executor! Error Number: 6. Error Msg: Could not resolve host: 66b78e23d04a0\nError Code: 500

now this instead of cold start

@Steven
Successfully removed exc1-65e61e3a6f3bfee5dac4-669a90b3df369f01ffae
Skipping runtimes stats loop due to error: Docker Error: EOF
EOF
EOF
EOF
EOF
EOF
EOF
EOF
EOF
EOF
Successfully removed exc1-65e61e3a6f3bfee5dac4-669a95c4e6dfc83d91ac

causing my executor to die

or something

These are logs for removing inactive runtimes

hm, I'll find the log then

my functions are still failing when being used a lot, but

also, the upgrade to 1.6 could fix it

Successfully removed exc1-65e61e3a6f3bfee5dac4-669a9427dc6fa7bfcafa
[Error] Type: Exception
[Error] Message: Internal curl errors has occurred within the executor! Error Number: 104. Error Msg: Connection reset by peer
[Error] File: /usr/local/app/http.php
[Error] Line: 1073
[Error] Type: Exception
[Error] Message: Internal curl errors has occurred within the executor! Error Number: 6. Error Msg: Could not resolve host: 66ccf403df0ac
[Error] File: /usr/local/app/http.php
[Error] Line: 1073
[Error] Type: Exception
[Error] Message: Internal curl errors has occurred within the executor! Error Number: 6. Error Msg: Could not resolve host: 66ccf403df0ac
[Error] File: /usr/local/app/http.php
[Error] Line: 1073
[Error] Type: Exception
[Error] Message: Internal curl errors has occurred within the executor! Error Number: 6. Error Msg: Could not resolve host: 66ccf403df0ac
[Error] File: /usr/local/app/http.php
[Error] Line: 1073
Skipping runtimes stats loop due to error: Docker Error: EOF
[Error] Type: Exception
[Error] Message: Internal curl errors has occurred within the executor! Error Number: 104. Error Msg: Connection reset by peer
[Error] File: /usr/local/app/http.php
[Error] Line: 1073
Skipping runtimes stats loop due to error: Docker Error: EOF
[Error] Type: Exception
[Error] Message: Internal curl errors has occurred within the executor! Error Number: 104. Error Msg: Connection reset by peer
[Error] File: /usr/local/app/http.php
[Error] Line: 1073

@Steven so it looks like some of the extra workers failed or whatever these are

Preparing for start ...
Starting ...
Segmentation fault (core dumped)

I wonder if it's because I am running WSL2

so maybe the internal proxies bounce around the request

ooooh this tracks! sooo the containers crashed/exited due to memory problems (you can search online for that 139 exit code). This is problematic for Appwrite because Appwrite doesn't know the container doesn't exist anymore and still tries to send requests to the container, resulting in the "could not resolve host" error

Interesting, so it’s a memory overload error? Is it a setting or the host machine running out of memory?

Could be either

Any way to up appwrite’s memory limit?

There are some memory environment variables. Besides that, it would be system memory or docker settings or wsl settings

copy, oh the wsl was an accidental mention, that’s in the duplicate function deployment idea thread but put it in here accidentally

@Steven
Running maintenance task ...
Maintanance task finished.
Running maintenance task ...
Maintanance task finished.
Running maintenance task ...
Maintanance task finished.
Running maintenance task ...
Maintanance task finished.
Running maintenance task ...
Maintanance task finished.
Running maintenance task ...
Maintanance task finished.
Running maintenance task ...
Maintanance task finished.
Running maintenance task ...
Maintanance task finished.
Running maintenance task ...
Maintanance task finished.
Running maintenance task ...
Maintanance task finished.
Running maintenance task ...
Maintanance task finished.
[Error] Type: Exception
[Error] Message: Internal curl errors has occurred within the executor! Error Number: 104. Error Msg: Connection reset by peer
[Error] File: /usr/local/app/http.php
[Error] Line: 1073
[Error] Type: Exception
[Error] Message: Internal curl errors has occurred within the executor! Error Number: 110. Error Msg: Operation timed out
[Error] File: /usr/local/app/http.php
[Error] Line: 1073
[Error] Type: Exception
[Error] Message: Internal curl errors has occurred within the executor! Error Number: 6. Error Msg: Could not resolve host: 66d201e16937b
[Error] File: /usr/local/app/http.php
[Error] Line: 1073
Running maintenance task ...
Maintanance task finished.
[Error] Type: Exception
[Error] Message: Internal curl errors has occurred within the executor! Error Number: 6. Error Msg: Could not resolve host: 66d201e16937b
[Error] File: /usr/local/app/http.php
[Error] Line: 1073
Skipping runtimes stats loop due to error: Docker Error: EOF
got some new ones
Recommended threads
- Failed to verify JWT. Invalid token: Exp...
Hi I am trying to call a function from my mobile app, but I am receiving "Invalid token expired." My code looks more or less like this ```ts // from my app ...
- Unable to View / Edit Bucket Files
Hi! I am unable to view / edit Bucket Files. While Previews work just fine, clicking the actual file to view or edit it produces the errors seen in the attache...
- How to remove the Sign up link after cre...
Greetings, i just installed appwrite on a VPS and created an account but now i do not want others to have access to the sign-up page. Is there any way to hide o...
