eclipse-vertx / vert.x

Vert.x is a tool-kit for building reactive applications on the JVM
http://vertx.io
Other
14.32k stars 2.08k forks source link

SIGSEGV during SSL.freeSSL when multiple instances are deployed #5124

Open conet opened 9 months ago

conet commented 9 months ago

Questions

This is related to this netty-tcnative issue https://github.com/netty/netty-tcnative/issues/842

Version

4.5.3 and older.

Context

We noticed the crash on high traffic servers with a high SSL connection creation/destruction rate. Today we got some DoS like traffic on some instances and they crash almost immediately after restart. I realized that the application was deploying multiple verticles. Once we switch to a single verticle per process the JVM no longer crashes. Another way to prevent the crash is to use JdkSSLEngineOptions instead of OpenSSLEngineOptions.

Do you have a reproducer?

I don't have a reproducer.

Steps to reproduce

Extra

hs_err_pid389199.log

conet commented 9 months ago

Sorry, I spoke too soon, it also happens when only one verticle is deployed.