Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
5.10, 6.0.3, 7.4.4
-
6
-
Severity 3 - Minor
-
0
-
Description
Summary
When using a rest api call to return child pages of a page that has more than 500 child page, the server times out and the request is stuck
Steps to Reproduce
- Create a page with 500 child pages
- Get the ID of the parent page (here it's 65590)
- Run this by your browser http://1.2.3.4:8090/rest/api/content/search?cql=parent=65590&start=1&limit=100
- You receive a response from the server about the server with a list of child page
- Now add another child page
- rerun the same call
Expected Results
You should get same response from the server
Actual Results
Nothing shows up and query keeps running without returning anything
The below exception is thrown in the atlassian-confluence.log file:
2017-01-10 11:41:54,046 WARN [http-nio-8090-exec-2] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1484044596634, threadId=156, threadName='http-nio-8090-exec-2', userId='admin', type='web-request', summary='/rest/api/content/search?cql=parent=65590&startAt=1&limit=100'} -- url: /rest/api/content/search | traceId: ed443dde060b70c4 | userName: admin 2017-01-10 11:41:54,053 WARN [http-nio-8090-exec-1] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1484044224925, threadId=161, threadName='http-nio-8090-exec-1', userId='admin', type='web-request', summary='/rest/api/content/search?cql=parent=65590&startAt=1'} -- url: /rest/api/content/search | traceId: 4e79548a40dffaec | userName: admin 2017-01-10 11:41:54,071 WARN [http-nio-8090-exec-8] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1484044575719, threadId=163, threadName='http-nio-8090-exec-8', userId='admin', type='web-request', summary='/rest/api/content/search?cql=parent=65590&startAt=1&limit=100'} -- url: /rest/api/content/search | traceId: d8e8c5de3a3fdf81 | userName: admin 2017-01-10 11:41:54,077 WARN [http-nio-8090-exec-10] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1484044106489, threadId=165, threadName='http-nio-8090-exec-10', userId='admin', type='web-request', summary='/rest/api/content/search?cql=parent=65590&startAt=1&limit=100'} -- url: /rest/api/content/search | traceId: cd3319f25810bfdb | userName: admin 2017-01-10 11:41:54,081 WARN [http-nio-8090-exec-6] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1484044536040, threadId=160, threadName='http-nio-8090-exec-6', userId='admin', type='web-request', summary='/rest/api/content/search?cql=parent=65590&startAt=1&limit=100'} -- url: /rest/api/content/search | traceId: 4f75f99835191c94 | userName: admin