-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
6.4.0, 6.6.7, 6.13.4, 6.13.6
-
8
-
Severity 3 - Minor
-
1
-
Steps to reproduce
- Create page with large amount of lines. For example, 7000+ lines
- Edit the page and replace large amount of texts
- Go to Page History and compare the page versions
Expected Behaviour
Confluence throws timeout message like "Comparing these versions exceeded the timeout of 10 seconds"
Actual Behaviour
Page comparison will keep running and exceed 10 seconds default timeout . No WARN or ERROR thrown in atlassian-confluence.log and Long Running Task thread is reported in catalina.out as shown in example below:
05-Feb-2018 18:41:44.638 WARNING [ContainerBackgroundProcessor[StandardEngine[Standalone]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread "http-nio-9642-exec-1" (id=182) has been active for 61,887 milliseconds (since 2/5/18 6:40 PM) to serve the same request for http://localhost:9642/conf642/pages/diffpagesbyversion.action?pageId=2588680&selectedPageVersions=3&selectedPageVersions=2 and may be stuck (configured threshold for this StuckThreadDetectionValve is 60 seconds). There is/are 2 thread(s) in total that are monitored by this Valve and may be stuck. java.lang.Throwable at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:429) at java.util.concurrent.FutureTask.get(FutureTask.java:191) at com.atlassian.util.concurrent.ConcurrentOperationMapImpl$CallerRunsFuture.get(ConcurrentOperationMapImpl.java:65) at com.atlassian.util.concurrent.ConcurrentOperationMapImpl.runOperation(ConcurrentOperationMapImpl.java:51) at com.atlassian.confluence.diff.WikiConvertingHtmlDiffer.diff(WikiConvertingHtmlDiffer.java:42) at com.atlassian.confluence.pages.actions.AbstractDiffPagesAction.execute(AbstractDiffPagesAction.java:74) ...
- is related to
-
CONFSERVER-57893 Page comparison in Confluence has a high heap usage and might contribute to OOM errors
-
- Closed
-
- relates to
-
CONFSERVER-40274 Comparing Huge Changes Between Versions in Page History Throws IndexOutOfBoundsException
-
- Gathering Impact
-
Form Name |
---|