mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 06:17:25 +00:00
Main run 45919973600, OpenProject#3 (swarm, centos, arm64): a swarm gossip flap at 04:29:36 cut the seeder's Postgres connection while psql loaded structure.sql (postgres: unexpected EOF on client connection with an open transaction). Rails structure_load starts psql with PGHOST, PGPORT, PGUSER and PGPASSWORD only, so the DATABASE_URL keepalives never reached it and psql waited on the dead socket under the kernel's 2 h default; the web replicas gave up after 600 s with PendingMigrationError. The x-op-app anchor now sets net.ipv4.tcp_keepalive_time/intvl/probes from OPENPROJECT_DB_KEEPALIVE_* (60/10/6), which DATABASE_URL reads too. 🎯 Fix: 80 % 💥 Break: 5 % 💸 Tokens: 101 % ⏱️ Velocity: 101 % 🛡️ Security: 100 % 🏆 Score: 75 🚦 Gate: ⛔ fix 80 % < 90; tokens 101 % > 100, velocity 101 % > 100: ask the operator before the commit Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>