Closed tomamplius closed 2 years ago
@derneuere Is this issue not solved in the 'librephotos.env'?
# Number of workers, which take care of the request to the api. This setting can dramatically affect the ram usage.
# A positive integer generally in the 2-4 x $(NUM_CORES) range.
# You’ll want to vary this a bit to find the best for your particular workload.
# Each worker needs 800MB of RAM. Change at your own will. Default is 2.
gunniWorkers=2
I think so too :)
By default number of worker is 1 : https://docs.gunicorn.org/en/stable/settings.html#worker-processes How set number of worker : https://docs.gunicorn.org/en/stable/design.html#how-many-workers Sample : https://github.com/tomamplius/librephotos-linux/blob/main/ressources/bin/librephotos-backend