eclipse-vertx / vert.x

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

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

Open conet opened 7 months ago

conet commented 7 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 7 months ago

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