It's all about the answers!

Ask a question

Can System hung because of the RTC Plugin?

Surender Biyyala (403448) | asked Jan 01 '15, 12:12 p.m.
 Hi All,
Recently we developed a custom RTC plugin which will auto calculate a filed based on all its children work items.

example : we have story points filed in Story work item and Story can be a children to the Feature type so when we save Feature work item it reads all its children stories and sums up the story points and assign that value to the Total story points filed of the Feature 

in the same way the Features has its parent as Epic where one of the filed in Epic is getting auto calculated based on a filed in its children features.

so when we modify the Story workitem it turn saves its Parent Feature and since the feature is modified we need to save its parent Epic.

the plugin is working very fine and from the time we deployed this on to production we are getting performance issues and sometimes the JTS itself getting hanged.

we are not sure if the plugin is causing the issue. IS there any chance that this plugin is reasons for all these issues. If so how to fix it?

Is there any way that I can find the issue?


Accepted answer

permanent link
Eric Jodet (6.3k5111120) | answered Jan 02 '15, 4:48 a.m.
 Hello Surender,
here is how I would investigate this one - assuming this is a server side plug-in

1 - Add / Remove the plugin and see if this impacts performance.
YES : so the plug-in might cause the issue
NO : possibly this is another problem

2 - If / when facing performance problem
a - go to the jts and ccm admin page, and check what are the services running and if some look like stuck
b - use the WAIT Tool to capture JVM dumps at regular interval - say every 1 or 2 minutes
and upload the dumps to the WAIT tool for analysis.

Depending on your findings, we'll see if it's necessary to proceed with investigation using a formal PMR.

Ralph Schoon selected this answer as the correct answer

Ralph Schoon commented Jul 27 '15, 5:40 a.m.

Yes, extensions can cause performance issues as they add load to the server. They can also cause the server to hang e.g if you have recursive saves and the plugin does not make sure the recursion is tail-end.

Your answer

Register or to post your answer.