Skip to content

Request for help with 502 errors from Nginx - Puma worker rebooting #3193

Answered by ndbroadbent
ndbroadbent asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @MSP-Greg, your note about "phase: 0" was really helpful! I was able to figure out that the OS was killing the puma worker process since it was out of memory. I've increased the memory for my pods and have set up alarms and dashboards (and learned a lot about AWS CloudWatch logs and metrics!) Once I figured out the metric I should be looking at (pod_memory_utilization_over_pod_limit), it was clear that I wasn't giving it enough memory.

It must have crept up over time with new libraries, upgraded dependencies, etc.

I'm still a bit frustrated that I didn't see anything in the logs about this, and it looks like I have to set this up manually if I want more visibility. (Something spec…

Replies: 9 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@ndbroadbent
Comment options

Comment options

You must be logged in to vote
1 reply
@ndbroadbent
Comment options

Comment options

You must be logged in to vote
1 reply
@ndbroadbent
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dentarg
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@MSP-Greg
Comment options

@iox
Comment options

Answer selected by dentarg
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants