Samuel Bunce
02/15/2023, 8:40 AMAgent stopped!
- 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 vazquez
02/15/2023, 6:12 PMSamuel Bunce
02/16/2023, 7:59 AMfrom multiprocessing import Manager, Process
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 manager.shutdown()
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 multiprocessing
Tim-Oliver
02/16/2023, 8:21 AMAgent stopped
as well with the following error:
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>)
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?Samuel Bunce
02/16/2023, 8:48 AMTim-Oliver
02/17/2023, 7:48 AMSamuel Bunce
02/17/2023, 8:48 AMTim-Oliver
02/17/2023, 10:19 AMSamuel Bunce
02/20/2023, 8:59 AM