Interview practice question
Goroutine count keeps growing
Backend Engineering · Concurrency · Intermediate
The number of goroutines in your Go service grows steadily until it runs out of memory. What could cause this?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Goroutine leak: blocked forever.
- Channel send/receive with no counterpart.
- Missing context cancellation.
- HTTP calls without timeouts.
- pprof goroutine profile.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.