Hi everyone — I have an ECS Service with 1 contain...
# ask-community
b
Hi everyone — I have an ECS Service with 1 container running a Prefect ECS Agent, however it seems like the memory consumption of this process steadily increases until eventually dies of OOM and then restarts. Does anyone know why this happens and how to fix it? The container entrypoint is simply:
Copy code
import prefect
from prefect.agent.ecs.agent import ECSAgent

agent = ECSAgent(
    region_name="eu-west-1",
    cluster="knightsbridge",
    labels=["ecs"],
    launch_type="EC2",
    agent_address="<http://0.0.0.0:8009>",
)

agent.start()
k
Hey @Bruno Murino, is this still persisting?
b
yes
k
Ok will bring this up to the team
b
thanks!