八、Spring Cloud系列:启动慢Initializing ExecutorService 'taskScheduler'
来源:互联网 发布:电子商务模式价值网络 编辑:程序博客网 时间:2024/06/10 23:32
在单体服务启动时,发现了一个问题,在控制台输出到如下信息时启动超级慢,需要等待三分钟左右。
INFO | restartedMain | org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler | Initializing ExecutorService 'taskScheduler'
猜了以下原因,这是一个ThreadPollTaskScheduler,应该是一个有关线程池的初始化任务,整个项目中只用了两个地方,Spring Bus 和Zipkin,当把Zipkin的依赖包注释掉后,发现启动一切正常了。
//服务跟踪功能 //compile("org.springframework.cloud:spring-cloud-sleuth-zipkin-stream")
我用的是Stream通讯方式,http通讯应该是没问题的,问题解决的不彻底,之后会深究。
阅读全文
0 0
- 八、Spring Cloud系列:启动慢Initializing ExecutorService 'taskScheduler'
- 四、Spring Cloud系列:问题-随机端口启动项目无法访问
- spring cloud系列-03.程序启动时做额外操作
- spring cloud系列
- spring cloud 系列文章
- spring-cloud系列-Eureka
- tomcat启动 信息: Initializing Spring root WebApplicationContext
- tomcat系列 启动慢
- Spring cloud系列八 Hystrix的用处、解决的问题、工作流程图、断路器流程
- spring 启动慢问题
- spring boot 启动慢
- tomcat 启动时 Initializing Spring root WebApplicationContext停止启动
- tomcat 启动时 Initializing Spring root WebApplicationContext停止启动
- spring boot&&cloud干货系列
- spring boot&&cloud干货系列
- spring cloud 入门实践系列
- spring cloud 入门实践系列
- spring cloud 入门实践系列
- 值班
- 无法连接远程mysql 错误2003,无法连接远程winserver
- Oracle sql解析过程详解
- mysql和oracle的一个汉字占几个字节
- kubernetes创建yaml,pod服务一直处于 ContainerCreating状态的原因查找与解决
- 八、Spring Cloud系列:启动慢Initializing ExecutorService 'taskScheduler'
- Project facet Java version 1.7 is not supported.解决方法
- Android 频道管理仿今日头条
- IOS-屏幕分辨率
- SQL基础函数
- sprinng---IOC
- metasploit port 详细使用方法
- android蓝牙开发
- 友元函数和友元类