<@ULVA73B9P> Why I am getting this error when try ...
# ask-marvin
x
@Marvin Why I am getting this error when try to start a worker of type process after I updated my prefect to latest version 2.19.9 from 2.16.9? Here is the message: Illegal instruction (core dumped) prefect worker start
m
It appears that the issue you're encountering might be somewhat uncommon. Here are a few steps for troubleshooting: 1. Check Prefect Installation: Ensure that Prefect is installed correctly in your environment. You might want to try reinstalling Prefect:
Copy code
pip uninstall prefect
    pip install prefect
2. Ensure System Compatibility: The error you're seeing, "Illegal instruction (core dumped)", often relates to system architecture issues or incompatibility between software and hardware. Ensure your system architecture supports the latest Prefect version. You could try running Prefect in a different environment or container to isolate the issue. 3. Examine Worker Configuration: Verify that your worker's configuration is correctly set up. Ensure that
PREFECT_API_URL
and
PREFECT_API_KEY
are configured properly in the environment where your worker is running. 4. Review Documentation: - Review Developing a New Worker Type to understand potential nuances in worker configurations. - Check the work pools concept guide to ensure proper execution environments. 5. Logs and Environment: - Verify the exact steps leading to the crash in the logs. - Match the environment in which you're running the worker against the requirements mentioned in the troubleshooting guide. If none of these steps resolve the issue, you may need to raise an issue on the Prefect GitHub repository for deeper investigation.
x
Is there a way to see what causes the core-dump?
@Marvin just let you know I have resolved the above problem. The issue was that I need to kill the agent work process for the version upgrade. Otherwise the coredump will show up.
m
I'm glad to hear you resolved the issue! It makes sense that lingering agent processes would conflict with starting up workers after an upgrade. If you have any more questions or run into further issues, feel free to ask!