<@ULVA73B9P> i'm receiving an exited with status c...
# ask-marvin
g
@Marvin i'm receiving an exited with status code: -9 in my flow, how can i solve that?
m
The error code
-9
in your Prefect flow typically indicates that the process was terminated by a SIGKILL signal. This can happen due to two primary reasons: 1. Manual Cancellation: The flow might have been manually canceled. 2. High Memory Usage: The operating system might have terminated the process due to excessive memory consumption. To address this issue, consider the following approaches: - Check Resource Usage: Ensure that your flow and tasks are not consuming excessive memory. You might need to optimize the memory usage or allocate more resources to the execution environment. - Monitor Logs: Review the logs for any indications of what might be causing the memory spike or any other anomalies. - Update Prefect: Ensure that you are using the latest version of Prefect, as updates may contain important bug fixes and optimizations. You can upgrade Prefect using the following command:
Copy code
bash
  pip install --upgrade prefect
- Review Flow Configuration: Make sure your flow configuration, such as timeouts and retries, is set appropriately. For further troubleshooting, you can refer to these resources: - Prefect Troubleshooting Guide - GitHub Issue with Similar SIGKILL Problem If the problem persists, you might want to investigate if there are any specific patterns or tasks that lead to this error, and consider reaching out to the Prefect community or support for more targeted assistance.