This message was deleted.
# ask-marvin
s
This message was deleted.
m
Your message was too long by 286 tokens - please shorten it and try again. For reference, here's your message at the allowed limit:
I'm getting an OSError when running flows inside a process worker on an EC2 machine. The flows themselves are completing successfully. Any idea what's going on here?
```An error occurred while monitoring flow run 'my-flow-run-id'. The flow run will not be marked as failed, but an issue may have occurred. Traceback (most recent call last): File "/home/ec2-user/prefect_env/lib/python3.12/site-packages/prefect/workers/base.py", line 896, in _submit_run_and_capture_errors result = await self.run( ^^^^^^^^^^^^^^^ File "/home/ec2-user/prefect_env/lib/python3.12/site-packages/prefect/workers/process.py", line 185, in run process = await run_process( ^^^^^^^^^^^^^^^^^^ File "/home/ec2-user/prefect_env/lib/python3.12/site-packages/prefect/utilities/processutils.py", line 273, in run_process await consume_process_output( File "/home/ec2-user/prefect_env/lib/python3.12/site-packages/prefect/utilities/processutils.py", line 287, in consume_process_output async with anyio.create_task_group() as tg: File "/home/ec2-user/prefect_env/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 597, in aexit