Files
pl_mail/frankenphp
Paul LütznerandClaude Opus 5.5 673a8bac5d fix(deploy): containers no longer walk the whole data directory on start
The php container took about a minute to start on TrueNAS, and 58 of
those 61 seconds were one line of the entrypoint: setfacl -R over all of
var/. On the TrueNAS layout var/data is the whole data dataset - the
Postgres files, one .eml per stored message, every attachment - and the
dataset refuses POSIX ACLs, so the walk read the metadata of every file
only to be told no. The second pass took 0.3s because the first had
warmed the cache. Every service running the entrypoint did the same walk
at the same moment: seven of them in that layout.

The ACLs were for www-data, which nothing in the image runs as - the
line came with the Symfony Docker template. They are set on var/cache
and var/log alone now, the two directories Symfony writes.

Measured in the released image: the step took 1.4-1.9s with 100,000
message files under var/data on RAM-backed storage against 0.2s with
none; it now takes 0.2s either way, and the mail files are left without
ACL entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 13:07:39 +02:00
..
2026-07-28 21:34:58 +02:00
2026-07-30 16:40:31 +02:00
2026-07-26 10:58:31 +02:00