Can't generate thumbnail when too many files in a directory #1902

Open
opened 2026-10-05 01:00:38 +02:00 by adam · 0 comments
Owner

Hello, i've an issue when i've too many files in the cache (/var/www/_data/upload/xxxx).

Directory rights are ok. I've 13900 thumbnails files in the directory.
When i go to a new image without thumbnail, it tries to generate it, but fails.
The image link gives a code 200 but it contains a message begining with:
"Undefined constant "MKGETDIR_DEFAULT" in /var/www/include/Logger.class.php ...."

If I a clear the cache, i can immediately after, generate the thumbnail.

My filesystem is btrfs (shouldn't be a limitation).

Hello, i've an issue when i've too many files in the cache (/var/www/_data/upload/xxxx). Directory rights are ok. I've 13900 thumbnails files in the directory. When i go to a new image without thumbnail, it tries to generate it, but fails. The image link gives a code 200 but it contains a message begining with: "Undefined constant "MKGETDIR_DEFAULT" in /var/www/include/Logger.class.php ...." If I a clear the cache, i can immediately after, generate the thumbnail. My filesystem is btrfs (shouldn't be a limitation). <!-- github-sync-id:2409654252 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1902