Thread stuck periodically

Hello,

We run a self-hosted confluence as our own help page. Since the installation, threads stuck periodically up to 200 threads and then block the use of the page for approximate 20 minutes (proxy error). I have already tried some things and am little puzzled about it, because i cant get rid of this.

key-data:

postgres (9.4.13) - max-connections = 300 (3 reserved)
confluence (6.5.1) - hibernate.c3p0.max_size = 250
tomcat - maxThreads = 200
java8

I have already read the other requests here with threads getting stuck, but I couldn't find any tips.

WARNING [ContainerBackgroundProcessor[StandardEngine[Standalone]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread "http-nio-8090-exec-467" (id=10682) has been active for 62,719 milliseconds (since 1/4/18 12:52 AM) to serve the same request for [*our-help-site*]/plugins/macrobrowser/browse-macros.action?detailed=false&macroMetadataClientCacheKey=1514981697420 and may be stuck (configured threshold for this StuckThreadDetectionValve is 60 seconds). There is/are 1 thread(s) in total that are monitored by this Valve and may be stuck.

2 3 4 ... and soone

active_threads.JPG

 

It looks periodic, but can't find a task in confluence or anything else that could cause this. (no cronjobs)

Does anyone have an idea about this please?

 

1 answer

0 vote
Ann Worley Atlassian Team Jan 04, 2018

To investigate the issue you are reporting we need to examine logs and configuration files that we can't share on the Community forum. I created a ticket on your behalf, you should receive an email from our support portal shortly. 

After we resolve the issue we can circle back to let the Community know.

Was there any resolution?

Ann Worley Atlassian Team Mar 01, 2018

It turned out to be an issue particular to Alexander's environment. After determining that the application was not the culprit, no details were shared on the ticket. Perhaps @Alexander Schilling can shed more light.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

495 views 19 10
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