Skip to content

Setting up workers #1921

Answered by vtosevski
vtosevski asked this question in Q&A
Jan 10, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

For future reference, I was able to solve my issues over at https://gitter.im/browseyourlife/community#

In short:

Michael Mayer
Could this be true, somehow? https://github.com/photoprism/photoprism/blob/develop/internal/config/config.go#L483

Thanks all for the feedback! I don't have a habit of checking the source code first but thanks to
Michael Mayer link I could learn that photoprism assignes one worker whenever there's less RAM than "minimum amount" (default of 5 GB). My VM was set with dynamic memory allocation, starting from 2 GB, so it always resulted in one worker, no matter what the setting in docker-compose.yml was. Setting up RAM allocation to > 5GB indeed resulted in multiple…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lastzero
Comment options

@lastzero
Comment options

Answer selected by vtosevski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants