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.
a static portfolio after the https move: a half-styled page, culprit unknown
Related topics
- Is A 502 Every Few Hours At Random My Hosts Fault Or MINE?
- my site goes 502 right after every deploy. proxy or app to blame?
- Is A 502 Whenever Someone Uploads A Big File My Hosts Fault Or MINE?
- why does apache proxying to gunicorn throw 502s only during traffic spikes?
- is it nginx or the spring boot app? a 502 mystery with one clue
- 502 Bad Gateway Right After I Enabled HTTPS, But The Django App Swears Its Up
Reply to this topic
Sign in or create an account to reply.