It's all about the answers!

Ask a question

/rm/publish/resources/* takes a long time


Andrew Clement (7272473) | asked Oct 14 '15, 5:26 a.m.
I accessed https://clm-server:9443/rm/publish/resources/* from a browser and it took a very long time.
My RPE relies on that URL to work properly.

Accepted answer


permanent link
Howard Hsiao (5.5k17) | answered Oct 14 '15, 5:27 a.m.
JAZZ DEVELOPER
 That publishing call is asking for all resources in the entire repository.
In your production environment, the server is probably very busy trying to return ALL resources and it struggles.

That publishing call had been identified as the cause for server instability. That is, slow downs and crashes.
In the RM log, we would typically see a very large DESCRIBE query that lists all the resource URLs in the repository.
 
You might see something like the following in your RM log.

[ jena.query.monitor] WARN com.ibm.team.jfs - CRJZS5541W Query _cpfG0FwbEeWN8Jalfvs5-Q has exceeded the configurable warning threshold of 45 seconds. It has 0 user contexts:
DESCRIBE <https://clm-server:9443/rm/resources/_nmfMEFQQEeSsOsbhirHRVA> <https://clm-server:9443/rm/resources/_pJfYdlQCEeSsOsbhirHRVA>
< ... a large number of URLs here ...>
WHERE
{}

I would advise not to use that particular query anymore and, instead, add some parameters to further filter the results.
Andrew Clement selected this answer as the correct answer

Comments
1
Howard Hsiao commented Oct 14 '15, 5:33 a.m.
JAZZ DEVELOPER
For your information, the following is a related workitem that has been fixed in DOORS Next Generation 6.0

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.