Confluence hanging intermittently, and not sure why? Edited


We are having problems with our Confluence test instance, at v 6.1.2, which we upgraded from v 5.4.4.

Whenever I restart confluence and login it hangs for around 10 minutes, and then completes the login. Then occassionaly, perhaps every few hours, this will happen again when I will click onto a particular page, or try a particular action.

In the atlassian-confluence.log file during the hang nothing is output. Then when Confluence starts working again this is output:

2017-08-02 14:07:51,468 WARN [http-nio-8443-exec-20] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1501678703676, threadId=192, threadName='http-nio-8443-exec-20', userId='alex.Perrin', type='web-request', summary='/display/URT/URLTEST+Home?src=spacemenu'}
 -- url: /display/URT/URLTEST+Home | traceId: be16d35b4795a2f2 | userName: alex.Perrin | referer:


I took several thread dumps during this particular hang. That thread seems to be this one below, as taken from the thread dump. There are a couple of locked messages, but other than that I can't really decode what is happening, and whether this thread really is the culprit. I've attached all the logs from this particular episode, any help would be appreciated!

"http-nio-8443-exec-20" #192 daemon prio=5 os_prio=0 tid=0x00007f7824ccf800 nid=0x2146 runnable [0x00007f775f8e1000]
   java.lang.Thread.State: RUNNABLE
 at Method)
 - locked <0x00000007a8d41148> (a
 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(
 at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(
 at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(
 at org.apache.http.impl.execchain.MainClientExec.establishRoute(
 at org.apache.http.impl.execchain.MainClientExec.execute(
 at org.apache.http.impl.execchain.ProtocolExec.execute(
 at org.apache.http.impl.execchain.RetryExec.execute(
 at org.apache.http.impl.execchain.RedirectExec.execute(
 at org.apache.http.impl.client.InternalHttpClient.doExecute(
 at org.apache.http.impl.client.CloseableHttpClient.execute(
 at org.apache.http.impl.client.CloseableHttpClient.execute(
 at org.apache.http.impl.client.CloseableHttpClient.execute(
 at com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher.fetch(
 at org.apache.shindig.gadgets.DefaultMessageBundleFactory.fetchBundle(




 at org.apache.coyote.http11.AbstractHttp11Processor.process(
 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
 - locked <0x00000007b5e30f90> (a
 at java.util.concurrent.ThreadPoolExecutor.runWorker(
 at java.util.concurrent.ThreadPoolExecutor$
 at org.apache.tomcat.util.threads.TaskThread$




1 answer

Did you try running the log analyzer? 

Also look into synchrony, since it was introduced in 6.0.

Are there any add-ons that are incompatible?

Try clearing the plugins cache and restarting

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,049 views 16 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you