Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu飙升至接近100% #167

Open
shaoneng111 opened this issue Jun 30, 2021 · 1 comment
Open

cpu飙升至接近100% #167

shaoneng111 opened this issue Jun 30, 2021 · 1 comment

Comments

@shaoneng111
Copy link

shaoneng111 commented Jun 30, 2021

定位原因是https请求,cpu基本都耗费在ssl上,请求量<1000qps,都是默认配置,请教大佬这种情况有什么好的方法解决吗?

主要是下面两个方法:
javax.crypto.CipherSpi.bufferCrypt 访问占比40%
io.netty.handler.ssl.SslHandler.decode 访问占比32%

@monkeyWie
Copy link
Owner

monkeyWie commented Jul 2, 2021

我看官方issue有一个类似的:netty/netty#8605
你有兴趣测试下吗,用OpenSSL的处理器

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants