We are having an issue with BOSH.
The Jetty threads just slowly keep building up until Openfire crashes.
We are using Jetty 7. I am not sure if this used to happen on Jetty 6 version?
As you can see in the attachment from the probe the the threads always increase and never decrease even during low activity periods.
When the service isn’t busy the threads just flatten out. This issue is causing Openfire to crash every couple of days.
Could the issue be in the HttpSessionManager - I am not that familiar with how it works, and wanted to see if anyone had any clue before
I start delving into all the complex code surrounding this.
If you stop and start the bind service in Openfire admin then the threads will drop down again, and then start increasing. This is the only thing we can do to prevent it from crashing.
In the thread dump the threads look like this. I would expect to have a lot of these when the site is busy but shouldn’t they close when the site is quiet? I am only guessing as I don’t know how it works.
“qtp5300374-572” prio=10 tid=0x0a003400 nid=0x4a00 waiting on condition [0x29cb7000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x34963100> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNano s(AbstractQueuedSynchronizer.java:1963)
Thanks in advance,