Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
5.6.0.Final
-
None
-
None
Description
Sometimes we are facing issues of thread deadlock due to which our application goes unresponsive. Drools version 5.6.0
Below is the deadlock statements detected by jconsole, also attached full tread dumps. There three threads are deadlocked triangularly.
Name: http-54350-Processor15
State: BLOCKED on org.drools.rule.JavaDialectRuntimeData$PackageClassLoader@1d5787a owned by: http-54350-Processor18
Name: http-54350-Processor18
State: WAITING on java.util.concurrent.locks.ReentrantLock$NonfairSync@3cda324d owned by: http-54350-Processor15
Name: http-54350-Processor20
State: BLOCKED on org.drools.util.CompositeClassLoader@61269654 owned by: http-54350-Processor15
We do not have definite threads to re-produce the issue.
But deadlocks are happening repeatedly on our production.
Regarding out environment details:
1. We have windows box on which application runs.
2. The rules used are kept in .drl and .xls formats
3. Call StatefulKnowledgeSession session = base.newStatefulKnowledgeSession();
4. Setup a few session globals as well.