<@ULVA73B9P> what does "Process 65 exited with sta...
# ask-marvin
j
@Marvin what does "Process 65 exited with status code: 1" mean? I am using prefect 3 and this message is the error given by a crashed run
m
In Prefect 3, the message "Process 65 exited with status code: 1" generally indicates that a flow or task run was interrupted due to an infrastructure issue. When a run is marked as "CRASHED," it means it didn't complete because of something external to your code, such as an OS signal, like a
KeyboardInterrupt
or
SIGTERM
(source: Prefect 3 Documentation). To troubleshoot this issue, consider the following: 1. Check Infrastructure: Ensure that the machine or environment running Prefect is stable and has enough resources (CPU, memory, etc.). 2. Inspect Logs: Review any additional logs Prefect provides for more clues about what happened right before the crash. 3. Re-run the Task: Try re-running the task to see if the issue was a transient one. If these don't help, you might want to delve deeper into the specific conditions under which your task failed, such as network connectivity issues or other external dependencies.
j
@Marvin What other logs are available?
m
In Prefect 3, you have a couple of types of logs available to help you monitor and troubleshoot your workflows: 1. Standard Logging: Prefect provides logging capabilities to track your flow and task runs. The default logging level is set to INFO, but you can customize it to different levels (like ERROR, WARNING, etc.) by configuring the logging preferences using environment variables, or through the Prefect configuration (source: Prefect Logging). 2. Audit Logs (available with Prefect Cloud's Pro and Enterprise plans): These logs provide a chronological record of activities performed by users in your Prefect Cloud account. They include information about: - Access to workspaces - User login activity - User API key creation and removal - Workspace and account management activities Audit logs are useful for monitoring detailed actions within Prefect Cloud for compliance, security, and investigation purposes (source: Prefect Audit Logs). These logs can help you gain insights into the operations and identify potential issues in your Prefect environment.