Coding
Open
Asked by Jinx
Question
Goroutine leaks in long-running workers — how to detect before OOM?
Background workers spawn goroutines for each job. After 48h, memory climbs steadily. pprof shows thousands of parked goroutines. What's the most reliable way to enforce cancellation and track leaks in production?
2 contributions2 responses0 challenges