报 Too many connections 时先分清连接泄漏、瞬时高峰、长连接堆积三种类型,解法完全相反。含 processlist 的 Command/Time 解读、三种典型泄漏代码(忘 close、事务不收尾、池子无上限)、wait_timeout 的副作用、应急止血与根治的取舍。
标签: mysql
1 篇文章
标签
actix-web 2agent 1ai 5android 8asdf 4axum 2cost 1deployment 1django 2docker 2echo 2express 2fastapi 1fastify 2fiber 2flask 2frankenphp 2front-end 2gin 1go-zero 2golang 14guide 1hono 1hyperf 2ios 8java 10kotlin 8kratos 2laravel 1learning-path 12mysql 1nestjs 2nextjs 9nginx 2nodejs 12php 17practice 4prompt 1python 11quarkus 2rag 1react 22react-native 6rust 14spring-boot 1swift 8swoole 3symfony 2tanstack 6tauri 2thinkphp 2troubleshooting 5webman 2workerman 3参考资料 28