Himanshu
09/10/2024, 1:29 PMMarvin
09/10/2024, 1:29 PMasyncio
tasks, especially when using time.sleep
or other blocking calls, can cause crashes.
### Actions to Consider:
- Check Infrastructure: Ensure the infrastructure used (Docker, Kubernetes, etc.) is correctly configured and stable.
- Review Task Usage: Avoid blocking calls within async tasks. Use await
for async-friendly delays.
- Review Logs: Examine Prefect, Docker, or Kubernetes logs to identify crashes or terminations.
Here are a few links you might find useful:
- Prefect Flows - Concepts
- Prefect Runtime Context Guide
- GitHub Issue: "Crash detected! Execution was cancelled by the runtime environment"
Good luck resolving your issue! If anything's unclear or needs more specifics, just holler!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.
Powered by