-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exif: Add cycle detection to prevent infinite loops #1326
Comments
Please try our latest release and make sure your Synology station meets the hardware requirements. You need at least 4 GB of RAM plus Swap. Try reducing the number of workers to 1. |
I give photoprism docker 12 GB RAM to use, so hardware requirements shouldn't be a problem. I also tried reducing PHOTOPRISM_WORKERS to 1 but still useless. |
It has successfully indexed over 40000 pictures before those two. |
Are these files somehow special, like very large or RAW? |
I have uploaded them. https://github.com/photoprism/photoprism/files/6529695/Pictures.zip |
I also see you have tweaked the thumb settings. Are you sure this isn't because of high CPU load when viewing search results while indexing? |
No. I'm sure no one is viewing. |
Try again using our latest release from yesterday. We've updated a lot of dependencies. If it still happens, I'll take a look at your files later today. |
Thanks, I will try latest docker image soon. |
Still get killed using latest version 210523-b1856b9d-Linux-x86_64. It even can't indexed any new picture... |
What database are you using? Any other special settings? |
Maybe the disk is full? |
Database: MariaDB 10.4.19 |
I changed all table default charset to utf8mb4, and serval column collation utf8mb4_unicode_ci to fix database "1366 Incorrect String Value" error. such as |
Photoprism docker has used more than 7.61 GB RAM. |
After rollback to version 210505-d3e53a89 and ignore those two picture I uploaded, index work fine. |
I directly stopped the photoprism container and create new one with latest image, never click "cancel index" button through webpage. Is this why I couldn't use the latest release to continue indexing pictures? |
Excellent catch! Seems to be an issue with our JPEG Exif parser. Hope Dustin can help with this. |
@iwinstar May we add your samples to our test file archive at https://dl.photoprism.org/samples/? |
Of course. Excellent work, Thanks. |
Reading Exiftool's warning message, it becomes clear why
See https://exiftool.org/forum/index.php?topic=3524.0 Money quote:
Looks very much like the same issue as in #1463, same warning there. |
With the current
|
Not related. Has to do with facial recognition. Do you have it enabled? How many workers do you have configured? The cluster library doesn't seem to like it... |
Thanks Michael. I have now created a new issue for it. I don't recollect seeing any explicit switch for Facial Recognition. But yes, my past 2 weeks rebuilds are more about tracking the recent developments around |
Our |
I've installed PhotoPrism by docker-compose in my Synology server. While index one of those Pictures.zip cause photoprism docker very busy and be killed after several minutes. After ignore them photoprism work back to normal.
I'm using version 210505-d3e53a89-Linux-x86_64. Could I try latest release or wait for you check this problem? Thanks
Here is my options.yml config.
The text was updated successfully, but these errors were encountered: