You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
obsidian-sync/问题排查/河口口岸AR数据库连接打满.md

1.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

口岸AR出现系统异常提示 !Pasted image 20250724094126.png

排查过程

  1. 排查日志后发现数据库连接打满 !Pasted image 20250724094105.png

  2. 查看hertzbeat数据库监控显示从4点开始出现连接未释放状态直到6点到7点之间超过最大500连接限制 !Pasted image 20250724094256.png

  3. 查看日志从4点半开始出现socket超时但不是数据库类型的异常 !Pasted image 20250724094428.png

  4. 查看hertzbeat 应用监控发现从4点起线程并未出现递增或者较大波动情况 !Pasted image 20250724095212.png

  5. 说明不是socket或者线程导致的问题继续往下查看日志 车牌识别未执行的情况下,线程池出现了频繁申请连接的情况

!Pasted image 20250724101641.png DeviceStatusCheckerJob和VehicleOvertimeStayCheckerJob执行前后都出现了申请连接的情况 !Pasted image 20250724102510.png !Pasted image 20250724102744.png 6. 直到7点50分第一次出现连接打满情况 !Pasted image 20250724103638.png