Samuel Bunce02/15/2023, 8:40 AM
- is there any reason why agents would just be stopping? I thought they were meant to run indefinitely. I do not know where to access any logging to see why the agent was stopped.
nick vazquez02/15/2023, 6:12 PM
Samuel Bunce02/16/2023, 7:59 AM
in short, I believe this might be interfering with prefect. When I have deployed 2 agents on the same box in different queues, I have seen logs from the flow which uses multiprocessing present in an agent that is registered on a completely different work queue! This can't be expected behaviour! As a further note to my original question I believe running
from multiprocessing import Manager, Process
within my flow might be having some undesirable effect on the prefect agents, but I have not yet tested this. In the meantime I have disabled the flow using
Tim-Oliver02/16/2023, 8:21 AM
as well with the following error:
This error shows up after the agent was running for more than 24h. Would you say this is similar to your issue or completely different?
Failed the last 3 attempts. Please check your environment and configuration. Examples of recent errors: Traceback (most recent call last): File "miniconda3/envs/prefect2-test/lib/python3.9/site-packages/h2/connection.py", line 224, in process_input func, target_state = self._transitions[(self.state, input_)] KeyError: (<ConnectionState.CLOSED: 3>, <ConnectionInputs.SEND_HEADERS: 0>)
Samuel Bunce02/16/2023, 8:48 AM
Tim-Oliver02/17/2023, 7:48 AM
Samuel Bunce02/17/2023, 8:48 AM
Tim-Oliver02/17/2023, 10:19 AM
Samuel Bunce02/20/2023, 8:59 AM