MariaDB logged an [Warning] Aborted connection ... (Got an error/timeout reading communication packets) for every DB connection PHP closed without the COM_QUIT handshake — i.e. whenever a long-lived worker (queue/schedule/ reverb) was recycled, a php-fpm worker retired, or a container restarted. These are protocol-normal, not a fault: Aborted_clients was 46 over ~24 days uptime (~2/day) with a non-persistent PDO pool and no connection leak. They surface only because the mariadb:11 image ships log_warnings=2. Add docker/mariadb/tuning.cnf (mounted in dev + prod) setting log_warnings=1 — genuine errors still log, the expected-disconnect noise stops — plus a higher net_read_timeout (120s) so a momentarily-stalled worker read isn't aborted as aggressively. Verified: forcing app+queue restarts now produces zero new "Aborted connection" lines. The DB is internal-network only, so dropping the level-2 access-denied notes carries no real exposure. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| caddy | ||
| clusev | ||
| mariadb | ||
| motd | ||
| nginx | ||
| php | ||
| release | ||
| restart-sentinel | ||
| supervisor | ||
| terminal | ||
| wg | ||
| entrypoint.sh | ||