Hi,
Sometimes functions are not being executed and being timed out. Can this happen because of less resources or something?
Function sometimes does not execute and gets timed out
Self-hosted?
Yes
Can this be due to high resource usage and resources not being available?
What are the logs of appwrite and openruntimes-executor
Yes
Well there are many executions per minute and most of them go fine, only few go like this.
It could happened when too many function trying to execute at the same time occupying all workers. Here you can see some possible explanation. But it worth to track the errors in both containers I've listed above to eliminate all other causes.
Thank you, there are not any error logs in openruntimes-executor except this. Skipping runtimes stats loop due to error: Docker Error: EOF
and this one from appwrite, other are normal appwrite error, (user not logged in and etc..) [2023-09-06 16:09:59 *83.74] WARNING swoole_signalfd_event_callback(): read from signalfd failed, Error: Resource temporarily unavailable[11]
So, yes this error is due to workers overload, you can see the details about it in the above issue
What are your server specs?
Recommended threads
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...
- functions returning error 401 in local
I updated to 1.9.0, and the functions that used to work fine in 1.8.1 are now giving me a 401 error. I can't seem to find a solution. If anyone is running versi...
- Docker Compose MongoDB Setup
everythings work fine but the mongodb fails on startup everytime. log: ``` Generating random MongoDB keyfile... /bin/bash: line 9: : No such file or directory ...