Deadlock warning seen in openmrs log

Environment Bahmni 0.92 CentOS 7 Openmrs log shows lot of deadlock warnings and later the bahmni stops responding.

03-02-2020 22:52:38 [WARN ] ThreadPoolAsynchronousRunner - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@52cb367b – APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks! 03-02-2020 22:52:59 [WARN ] ThreadPoolAsynchronousRunner - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@52cb367b – APPARENT DEADLOCK!!! Complete Status: Has anyone seen it?

this seems like a C3PO connection pool deadlock error. check this stackoverflow thread

  • by any chance is your db server different than application?
  • does the application work again if you restart openmrs?