Posted in

Go服务器goroutine泄露的3种静默形态:timer未Stop、channel阻塞、sync.WaitGroup计数错误(附go tool trace精准定位法)

第一章:Go服务器gorouti … Go服务器goroutine泄露的3种静默形态:timer未Stop、channel阻塞、sync.WaitGroup计数错误(附go tool trace精准定位法)Read more

Posted in

Go协程泄漏预警清单:6种典型泄漏模式(timer未Stop、channel未关闭、context未cancel等)及自动检测脚本

第一章:Go协程泄漏的本质与危害 … Go协程泄漏预警清单:6种典型泄漏模式(timer未Stop、channel未关闭、context未cancel等)及自动检测脚本Read more

Posted in

Go sync.Map导致泄漏?Channel未关闭?Timer未Stop?——TOP 10 Go内存泄漏代码模式(含修复前后内存对比图)

第一章:Go内存泄漏的本质与危害 … Go sync.Map导致泄漏?Channel未关闭?Timer未Stop?——TOP 10 Go内存泄漏代码模式(含修复前后内存对比图)Read more

Posted in

Go内存占用低≠内存安全:5种隐蔽内存泄漏模式(channel阻塞、timer未Stop、context.Value滥用等)即时诊断法

第一章:Go内存占用低≠内存安全 … Go内存占用低≠内存安全:5种隐蔽内存泄漏模式(channel阻塞、timer未Stop、context.Value滥用等)即时诊断法Read more