https://prefect.io logo
#prefect-community
Title
# prefect-community
j

joshua mclellan

04/04/2022, 5:13 PM
Hi, is there a recommendation for what kind of machine specs we should use to run prefect core? I have a couple instances running on t3.mediums (in separate unconnected environments) and they seem to be failing randomly after several days
k

Kevin Kho

04/04/2022, 5:14 PM
But for core alone I think it depends on the workload of your flow? Are you not using an agent? Core is not really intended for production use cases
j

joshua mclellan

04/04/2022, 5:14 PM
we have the agents running on a different machine on the network
k

Kevin Kho

04/04/2022, 5:15 PM
So when you mean
prefect core
, you mean an agent running with cloud?
j

joshua mclellan

04/04/2022, 5:18 PM
sorry i mean we have machine A that is running prefect core by running
prefect server start
(after setting backend to server) and then on a separate machine B which is running an agent that points to the server on machine A. The problem being that we are finding that after some time Machine A fails and its not clear why. Failing to the point that it has to be restarted in the AWS console
k

Kevin Kho

04/04/2022, 5:27 PM
Ah I see. What are the current specs? I would say maybe 8gb RAM? I haven’t had it on for an extended amount of time of though
j

joshua mclellan

04/04/2022, 5:34 PM
Ok thanks, hopefully with some more investigation we can come back with more driven questions
when i run the server all the logs print to stdout, is there any configuration where i can easily direct that to a logfile or should i just do that redirection myself at the top level? was hoping that you might have a logrotate solution built in already
k

Kevin Kho

04/04/2022, 5:51 PM
not for Prefect 1 but definitely something in consideration for Prefect 2.0 because it has been heavily requested
4 Views