简体   繁体   English

Spring 启动 tomcat 使用 +4000% CPU

[英]Spring boot tomcat using +4000% CPU

I using zuul as API edge for my microservice infrastructure, I have a strong CPU with 32 and 56 thread.我使用 zuul 作为我的微服务基础架构的 API 边缘,我有一个强大的 CPU,具有 32 和 56 线程。
As I checked, gateway service using CPU more than %4000!正如我所检查的,网关服务使用的 CPU 超过 %4000!
I used JMX to dump and trace CPU usage.我使用 JMX 转储和跟踪 CPU 使用情况。
I see " https-jsse-nio " have 200 instances and every instance using a huge CPU resource.我看到“ https-jsse-nio ”有 200 个实例,每个实例都使用巨大的 CPU 资源。
Please see the traces:请看痕迹:

在此处输入图像描述 在此处输入图像描述

在此处输入图像描述

It was the SSL Handshake problem, It seems a bug from Tomcat.这是 SSL 握手问题,这似乎是 Tomcat 的错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM