ED2 KC- APPARENT DEADLOCK!!!


WARN  2022-08-16T09:17:10,101 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@2e11aed -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!

It is crashing because of an "APPARENT DEADLOCK" error. These deadlock errors often happen in conjunction with high load or out-of-memory conditions. The logs are not showing any out of memory problems but the server may have experienced a high load around the time the deadlocks were reported which is exactly what we would expect with the a large sync between servers. Because of the "deadlock" errors, the tomcat web server shuts down as a safety measure (to ensure no data is being sent that can't be saved to the DB). There is little we can do since much of these interactions are a part of DHIS2 that we cannot configure.