V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
luzemin
V2EX  ›  程序员

shardingsphere 4.0.1 + postgresql 启动每次都会卡 5 分钟

  •  
  •   luzemin · 273 天前 · 465 次点击
    这是一个创建于 273 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 分钟
    ...
    ...

    各位大佬给个思路
    linyimin520812
        1
    linyimin520812  
       273 天前
    可以考虑使用一下 https://github.com/linyimin0812/spring-startup-analyzer ,会针对启动过程进行采样,产出一个火焰图,通过火焰图分析一下卡点。也可以直接使用 Arthas 的 profiler 进行采样分析
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1283 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:59 · PVG 01:59 · LAX 10:59 · JFK 13:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.