Moderator
Function timed out during cold start.\nError Code: 400
Votes
0
Replies
24
Participants
Unknown
Messages
25
Moderator
Function timed out during cold start.\nError Code: 400
Moderator
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
Moderator
I have 50 workers enabled
Moderator
upgraded executor to 0.5.7, will report back
Moderator
@Steven ```
Internal curl errors has occurred within the executor! Error Number: 6. Error Msg: Could not resolve host: 66b78e23d04a0\nError Code: 500
Moderator
now this instead of cold start
Moderator
@Steven
Successfully removed exc1-65e61e3a6f3bfee5dac4-669a90b3df369f01ffaeSkipping runtimes stats loop due to error: Docker Error: EOFEOFEOFEOFEOFEOFEOFEOFEOFEOFSuccessfully removed exc1-65e61e3a6f3bfee5dac4-669a95c4e6dfc83d91acModerator
causing my executor to die
Moderator
or something
Admin
These are logs for removing inactive runtimes
Moderator
hm, I'll find the log then
Moderator
my functions are still failing when being used a lot, but
Moderator
also, the upgrade to 1.6 could fix it
Moderator
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: 1073Skipping 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: 1073Skipping 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: 1073Moderator
@Steven so it looks like some of the extra workers failed or whatever these are
Moderator
Preparing for start ...
Starting ...
Segmentation fault (core dumped)
Moderator
I wonder if it's because I am running WSL2
Moderator
so maybe the internal proxies bounce around the request
Admin
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
Moderator
Interesting, so it’s a memory overload error? Is it a setting or the host machine running out of memory?
Admin
Could be either
Moderator
Any way to up appwrite’s memory limit?
Admin
There are some memory environment variables. Besides that, it would be system memory or docker settings or wsl settings
Moderator
copy, oh the wsl was an accidental mention, that’s in the duplicate function deployment idea thread but put it in here accidentally
Moderator
@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