Hi all, for an instance of Prefect Server, what ar...
# ask-community
m
Hi all, for an instance of Prefect Server, what are the recommended specs for a system to run Prefect effectively?
k
Hi @Matthew Blau, I’ll ask the team about this
m
@Kevin Kho thank you! We have some tasks that run every ~10 minutes and they fail a lot due to a time out of creating the docker container; feel like it's due to the available resources on the server so I'm hoping we can provision a server for Prefect that meets some recommended specs
t
Hi Matthew, which Docker container are they failing to create? Are you talking about flow execution containers? There are no current recommended specs but if anything is "too low" we'd love to know
m
Hi @Tyler Catanzaro, we build docker images with docker -compose and have a basic task that creates the container, starts it, and then collects logs. When the task fails we see
Copy code
Unexpected error: ReadTimeout(ReadTimeoutError("UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)",),)
in the logs which leads me to believe that it's our server that is causing the issue
t
I'm not sure I fully understand yet--Are you running one VM with Server, an Agent, and Flows that do some Docker work?
m
@Tyler Wanner one server running Prefect Server, an agent, and hosts the docker images orchestrated by Prefect Server
t
in that case, your needs are probably dictated by whatever flows you are running. A very lightweight instance should be able to run Server alone