Hi,
First of all : you guys are doing a great job on photoprism ! keep it up, it's an awesome project !
Context :
The issue :
i do not get anything obvious when typing docker container logs photoprism, but i do see in dmesg on the host server that photoprism process was killed because the server ran out of memory.
indexing used to work (i have indexed thousands of pictures before) but i run into this error each time now (trying to index the same directory, that is true).
i would be grateful if you could tell me where to look to try to solve this ! i can provide logs if needed.
thanks.
Thank you! :) Please add swap, so that spikes don't kill the process. You may also reduce the number of workers or disable TensorFlow.
Running photoprism next to all the other services requires more than 4 GB of memory for smooth operation. See system requirements in our docs.
See https://docs.photoprism.org/getting-started/:
We recommend a modern computer with at least 2 cores and 4 GB of memory for running PhotoPrism. Indexing large photo and video collections significantly benefits from fast, local SSD storage and enough memory for caching.
If you're running out of memory, you can reduce the number of workers in the configuration. As a measure of last resort, you can additionally disable image classification using TensorFlow.
Number of workers can be limited with the PHOTOPRISM_WORKERS environment variable, see https://docs.photoprism.org/getting-started/config-options/.
Is there anything more we can do?
Sorry, busy times this weekend, I did not get a chance to test with less
workers yet. I will test with 1 or 2 I think and report back, hopefully
within 72 hours. Thanks.
Le mar. 15 sept. 2020 Ã 11:17, Michael Mayer notifications@github.com a
écrit :
Is there anything more we can do?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/photoprism/photoprism/issues/497#issuecomment-692585730,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP63DSITKIPFPVK4BJK6CBTSF4WJLANCNFSM4RHZSBHQ
.
alright so i run a quick test with only 2 workers and it indexed everything smoothly, UI stayed responsive, and server stayed reachable. the indexing speed is acceptable for me with 2 workers. by checking with top on host raspberry pi i still have around 300MB of free RAM when indexing, so i am going to keep it that way for now and monitor what's going on the next time i index.
and everything was explained in the doc.... sorry for that !! and thanks again.