升级到4.7.0后系统停机特别的慢

Blade 未结 1 11

一、该问题的重现步骤是什么?

1. 启动 Auth服务(这里已Auth服务为例,除了Auth服务,其他服务一样的慢)

2. 启动Auth服务完成后,关闭服务

3.查看关闭日志,停机总耗时40s。

image.png

image.png

二、你期待的结果是什么?实际看到的又是什么?

期待的是 3s内完成停机

实际是花了40s才停机完成,4.6及之前的版本没有这个问题


三、你正在使用的是什么产品,什么版本?在什么操作系统上?

bladex 4.7.0,Windows系统上,使用的idea工具


四、请提供详细的错误堆栈信息,这很重要。

2025-12-31 10:18:08.649 DEBUG 40308 --- [ionShutdownHook] o.s.b.f.support.DisposableBeanAdapter    : Custom destroy method 'close' on bean with name 'nacosServiceRegistry' completed

2025-12-31 10:18:08.651 DEBUG 40308 --- [ionShutdownHook] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown

2025-12-31 10:18:08.651 DEBUG 40308 --- [ionShutdownHook] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans

2025-12-31 10:18:08.654  INFO 40308 --- [ionShutdownHook] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closing ...

2025-12-31 10:18:08.661  INFO 40308 --- [ionShutdownHook] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closed

2025-12-31 10:18:08.661 DEBUG 40308 --- [ionShutdownHook] s.c.a.AnnotationConfigApplicationContext : Closing FeignClientFactory-blade-resource, started on Wed Dec 31 10:17:15 CST 2025, parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@24d8f87a

2025-12-31 10:18:18.673 DEBUG 40308 --- [ionShutdownHook] s.c.a.AnnotationConfigApplicationContext : Closing FeignClientFactory-blade-system, started on Wed Dec 31 10:17:18 CST 2025, parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@24d8f87a

2025-12-31 10:18:28.674 DEBUG 40308 --- [ionShutdownHook] s.c.a.AnnotationConfigApplicationContext : Closing FeignClientFactory-blade-log, started on Wed Dec 31 10:17:25 CST 2025, parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@24d8f87a

2025-12-31 10:18:38.689 DEBUG 40308 --- [ionShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'

2025-12-31 10:18:38.690 DEBUG 40308 --- [ionShutdownHook] i.l.c.resource.DefaultClientResources    : Initiate shutdown (0, 2, SECONDS)

2025-12-31 10:18:38.692 DEBUG 40308 --- [ionShutdownHook] i.l.c.r.DefaultEventLoopGroupProvider    : Initiate shutdown (0, 2, SECONDS)

2025-12-31 10:18:38.694 DEBUG 40308 --- [ionShutdownHook] o.s.b.f.support.DisposableBeanAdapter    : Custom destroy method 'shutdown' on bean with name 'lettuceClientResources' completed asynchronously

2025-12-31 10:18:38.694 DEBUG 40308 --- [ionShutdownHook] o.s.b.f.support.DisposableBeanAdapter    : Custom destroy method 'close' on bean with name 'prometheusMeterRegistry' completed


Process finished with exit code 130

五、若有更多详细信息,请在下面提供。

1条回答
  • springboot升级后的问题,需要等后续官方优化后升级版本解决

    0 讨论(0)
提交回复