I'm trying to run prefect in the docker container, using a local agent for it but the flow run does not complete the execution. In terminal get these logs, it goes as
deploying-->completed deployment-->returned with exit code -11!
, Attaching the screenshot. What is the
exit code -11!
here and how can I solve this issue.
Chhaya Vankhede
09/07/2021, 8:59 AM
In docker-compose, there are 3 containers DB, prefect, and rest-API, the rest-api registers and starts the flow. the prefect container executes the below commands
• prefect server start
• prefect create project 'project'
• prefect agent local start --no-hostname-label
m
Mariia Kerimova
09/07/2021, 1:42 PM
Hello! Oftentimes, exit code -11 means "segmentation fault", can you check if you provide enough memory?
c
Chhaya Vankhede
09/08/2021, 3:43 AM
seems like there is enough memory provided.
Chhaya Vankhede
09/08/2021, 5:09 AM
Here one more thing I would like to add is that I'm able to create and delete flow, it is just that the task does not start. this is what logs and run history look like in UI.
Chhaya Vankhede
09/08/2021, 12:56 PM
The prefect agent was running in a different docker container earlier, so when I started the agent in the same container in which the API is running, it worked.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.