首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
广告
V2EX
›
程序员
shardingsphere 4.0.1 + postgresql 启动每次都会卡 5 分钟
luzemin
·
2023-08-22 22:10:04 +08:00
· 509 次点击
这是一个创建于 402 天前的主题,其中的信息可能已经有所发展或是发生改变。
Baidu + Google + AI 都咨询搜索了,给的解决方案都试了不行
JVM 参数加了:-Dlogging.level.org.apache.shardingsphere=trace
以下是日志:
...
...
2023-08-22 22:04:20.927 INFO 16188 --- [ main] org.apache.shardingsphere.core.config.log.ConfigurationLogger : [] Properties
sql.show: 'true'
卡 5 分钟
...
...
各位大佬给个思路
true'
jvm
trace
22:04:20
1 条回复
1
linyimin520812
2023-08-23 01:17:18 +08:00
可以考虑使用一下
https://github.com/linyimin0812/spring-startup-analyzer
,会针对启动过程进行采样,产出一个火焰图,通过火焰图分析一下卡点。也可以直接使用 Arthas 的 profiler 进行采样分析
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
1206 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 23:40
·
PVG 07:40
·
LAX 16:40
·
JFK 19:40
Developed with
CodeLauncher
♥ Do have faith in what you're doing.