I’m experiencing an issue with the ZimaOS Photos feature in the Zima Client app on my iPhone.
Problem description:
When I open the Photos section in the iOS app, my photo library does not load and no photos are displayed.
Initially, the application showed a “Photo library unavailable” error, along with an incorrect asset count of approximately 380 quadrillion (380106020652847104).
I also discovered that the Manticore Search service was repeatedly crashing during startup.
Errors found in the system logs:
Manticore process exited during startup:
signal: segmentation fault (core dumped)
failed to create
photo_asset_relations.meta.new:
Too many open files
Technical findings:
-
Manticore Search version: 29.2.4
-
ZimaOS Photos service:
zimaos-photos.service -
Manticore index size: approximately 1.5 GB
-
Number of index files: 1,687
-
Original soft file descriptor limit: 1,024
-
Hard file descriptor limit: 524,288
I discovered that the systemd service was configured with a soft limit of only 1,024 file descriptors, which appeared to be insufficient for Manticore.
Troubleshooting performed:
-
Checked the Manticore logs and confirmed repeated startup crashes.
-
Identified the “Too many open files” errors.
-
Attempted to configure
max_open_files = 65535insearchd.conf, but ZimaOS automatically overwrites this configuration during startup. -
Created a systemd override for
zimaos-photos.servicewith:[Service] LimitNOFILE=65535:524288 -
Confirmed that systemd now reports
LimitNOFILESoft=65535. -
Restarted ZimaOS Photos.
Current situation:
After increasing the file descriptor limit, the Manticore errors appear to have stopped.
However, the Photos section in the Zima Client iOS app still does not display any photos.
The original startup errors seem to be resolved, but the photo library remains inaccessible or fails to load correctly.
Could you please help me investigate the following?
-
Why does ZimaOS Photos use a soft file descriptor limit of only 1,024 by default?
-
Could the previous Manticore crashes have affected the photo database or indexing state?
-
Is there a supported way to repair or rebuild the photo index without losing any original photos?
-
Are there any known issues with ZimaOS Photos or the iOS Zima Client that could explain why the library remains empty?
Screenshot from my iPhone showing the issue :
Thank you for your assistance!
