if (Boolean.parseBoolean(System.getProperty(SERIALIZATION_SECURITY_CHECK_KEY, "true")))cause some thread enter blocked #14945
HappyinessHome
started this conversation in
General
Replies: 1 comment
-
I would recommend you to upgrade your Dubbo version first. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Pre-check
Apache Dubbo Component
Java SDK (apache/dubbo)
Details
"In the DecodeableRpcInvocation.decode method of Dubbo, the code:
if (Boolean.parseBoolean(System.getProperty(SERIALIZATION_SECURITY_CHECK_KEY, "true"))) {
CodecSupport.checkSerialization(frameworkModel.getServiceRepository(), path, version, serializationType);
}
Dubbo_JStack.log.2024-11-15_00_25_12.txt
if (Boolean.parseBoolean(System.getProperty(SERIALIZATION_SECURITY_CHECK_KEY, "true"))) {
CodecSupport.checkSerialization(frameworkModel.getServiceRepository(), path, version, serializationType);
}
calls System.getProperty(SERIALIZATION_SECURITY_CHECK_KEY), which leads to Hashtable operations causing some threads to enter a BLOCKED state. This results in thread exhaustion exceptions being thrown. However, I'm not sure if this is the root cause. Below is the content of dubbo_jstack.log. Please help me. The Dubbo version is 2.7.2, and the JDK version is 8."
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions