摘要: # 端口45678 对应的 close wait 状态明细 lsof -nP -i4TCP:45678|grep CLOSE # 统计个数 lsof -nP -i4TCP:45678|grep CLOSE -c netstat -na |grep -i close 阅读全文
posted @ 2024-02-27 18:57 0xguaiwu 阅读(11) 评论(0) 推荐(0)
摘要: ## 现象 每天到业务高峰期就会出现提交线程被拒绝。 ## 疑问点 什么原因会导致active threads远远小于poolsize的情况下,提交任务失败 ## 关键信息 ### 线程池配置 ``` ExecutorService aService = new ThreadPoolExecutor 阅读全文
posted @ 2023-07-25 17:20 0xguaiwu 阅读(194) 评论(0) 推荐(0)
摘要: 安装 # 查询mysql 版本 ➜ ~ brew search mysql ==> Formulae automysqlbackup mysql-client@5.7 mysql@5.6 mysql mysql-connector-c++ mysql@5.7 mysql++ mysql-sandbo 阅读全文
posted @ 2022-12-21 14:57 0xguaiwu 阅读(58) 评论(0) 推荐(0)