Started a PDF export of a space which ran and ran but never finished. Was getting 500 errors in the UI while it was running.
Tried restarting Confluence, and it hung. Rebooted the server and it still hung. It is hitting 100% CPU on one of two CPUs of the server.
Cannot get passed this problem. Any suggestions?
Environment:
* CentOS 6
* Confluence 6.0.1
* Several Scroll add-ons
I would post the stacktrace but it's too large.
EDIT
Found the following after grepping the logs for deadlock:
[root@techdocs176 logs]# grep -i deadlock *
atlassian-confluence.log:2017-10-16 14:07:02,218 WARN [C3P0PooledConnectionPoolManager[identityToken->2s071s9ran09jjd7j70p|7fc56e90]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@34543fa2 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
atlassian-confluence.log:2017-10-16 14:07:02,223 WARN [C3P0PooledConnectionPoolManager[identityToken->2s071s9ran09jjd7j70p|7fc56e90]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@34543fa2 -- APPARENT DEADLOCK!!! Complete Status:
atlassian-confluence.log:2017-10-16 14:07:04,796 WARN [C3P0PooledConnectionPoolManager[identityToken->2s071s9ran09jjd7j70p|2f7c2d57]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@175dc4b5 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
atlassian-confluence.log:2017-10-16 14:07:04,799 WARN [C3P0PooledConnectionPoolManager[identityToken->2s071s9ran09jjd7j70p|2f7c2d57]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@175dc4b5 -- APPARENT DEADLOCK!!! Complete Status:
atlassian-confluence.log:2017-10-16 14:08:17,253 WARN [C3P0PooledConnectionPoolManager[identityToken->2s071s9ran09jjd7j70p|7fc56e90]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log Task com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@6edca088 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
atlassian-confluence.log:2017-10-16 14:08:17,254 WARN [C3P0PooledConnectionPoolManager[identityToken->2s071s9ran09jjd7j70p|7fc56e90]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log Task com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@66e1bb00 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
atlassian-confluence.log:2017-10-16 14:08:17,254 WARN [C3P0PooledConnectionPoolManager[identityToken->2s071s9ran09jjd7j70p|7fc56e90]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log Task com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@1857d19c (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
atlassian-confluence.log:2017-10-16 14:08:19,819 WARN [C3P0PooledConnectionPoolManager[identityToken->2s071s9ran09jjd7j70p|2f7c2d57]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log Task com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@49b9d8 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
atlassian-confluence.log:2017-10-16 14:08:19,819 WARN [C3P0PooledConnectionPoolManager[identityToken->2s071s9ran09jjd7j70p|2f7c2d57]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log Task com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@529f5893 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
atlassian-confluence.log:2017-10-16 14:08:19,820 WARN [C3P0PooledConnectionPoolManager[identityToken->2s071s9ran09jjd7j70p|2f7c2d57]-AdminTaskTimer] [mchange.v2.async.ThreadPoolAsynchronousRunner] log Task com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask@8fe9702 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
EDIT 2
I have updated the mchange and c3p0 jars to the very latest versions and got the same results. Adapted this suggestion from https://jira.atlassian.com/browse/CONFSERVER-25531