yeahhh bump, still happening with during for me... i swear traffic is cursed hope that helps :)
Fixed My 502s Only During Traffic Spikes, And The Cause Was Embarrassingly Small
ok so for PHP-FPM, check its log for
server reached pm.max_children setting. when all workers are busy, new requests queue and eventually fail. tunepm.max_childrenbased on available RAM divided by average worker memory, not by guesswork. fingers crossed 🤞dumb question but how do i even check teh settings, for me it was the firmware... swapped it and boom, fixed ??
yeahhh have u checked ur during settings? mine were reset after an update
@amara.kowalski yesss added a healthcheck and depends_on sooo the app waits for the database, plus a restart policy, deploys no longer cause 502s. appreciate the checklist.
Reply to this topic
Sign in or create an account to reply.