It's all about the answers!

Ask a question

Java process utilizing 100% CPU in RTC

Sofus Albertsen (471014) | asked Sep 26 '12, 6:19 a.m.
Running virtual guest OS Linux with 4 gb of ram, 4 cores, and enough disk space
I don't know for how long time this has been going on, but i have noticed that the Java process of
My Htop output looks like this.
I'm not that smart when it comes to administering the server, but i cannot see anything that resembles a looping faliure or the likes in the logs.
Are there anyone who's got a clue on what could be the cause?
-Sofus Albertsen

3 answers

permanent link
Clement Liu (1.5k54249) | answered Sep 26 '12, 10:07 a.m.
Go to RTC admin console -> Active Services and check if there are any java threads running. If yes, what are they?

Sofus Albertsen commented Sep 26 '12, 10:19 a.m. | edited Sep 26 '12, 10:20 a.m.

With this as the stacktrace i think:

java.lang.Thread.getStackTraceImpl(Native Method) java.lang.Thread.getStackTrace( sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke( sun.reflect.DelegatingMethodAccessorImpl.invoke( java.lang.reflect.Method.invoke( org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke( org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(

There's more but im not allowed to post that much. Hope i helps

Bo Chulindra commented Sep 26 '12, 12:05 p.m.

@clementliu: I think this would be better as added as a comment to the original question. These comments of yours are posted as "answers" which is a bit confusing if someone is looking for answers but instead see your comments.

Clement Liu commented Sep 26 '12, 12:12 p.m.

@bkchulin, :) thanks. But looks like I can't upload screen shot to a comment so that's why sometimes I had to start a new conversation

Bo Chulindra commented Sep 26 '12, 12:27 p.m.

@clementliu: ah, good point. I've posted the question hoping that if it is not possible, then it may be made possible.

permanent link
Clement Liu (1.5k54249) | answered Sep 26 '12, 10:28 a.m.
There is running time at the end of the line of each thread... Can you paste those running for hours, if any? 

Sofus Albertsen commented Sep 26 '12, 10:35 a.m.

00:00:00:000 running time so no, that's not it. if i do a ps -wwfC java i get the following: UID PID PPID C STIME TTY TIME CMD root 1529 1 99 11:18 ? 05:49:27 /opt/IBM/JazzTeamServer/server/jre/bin/java -Djava.util.logging.config.file=/opt/IBM/JazzTeamServer/server/tomcat/conf/ -Djazz.connector.sslProtocol=SSL_TLS -Djazz.connector.algorithm=IbmX509 -Djava.awt.headless=true -DSQLSERVER_JDBC=/opt/IBM/JazzTeamServer/server/sqlserver -DSQLSERVER_JDBC_DRIVER_FILE= -DORACLE_JDBC=/opt/IBM/JazzTeamServer/server/oracle -DORACLE_JDBC_DRIVER_FILE= -DDB2I_JDBC=/opt/IBM/JazzTeamServer/server/db2i -DDB2Z_JDBC=/opt/IBM/JazzTeamServer/server/db2z -Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true -DJAZZ_HOME=file:///opt/IBM/JazzTeamServer/server/conf -Xmx1200M -Dlog4j.configuration=file:///opt/IBM/JazzTeamServer/server/conf/ -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/IBM/JazzTeamServer/server/tomcat/common/endorsed -classpath /opt/IBM/JazzTeamServer/server/tomcat/bin/bootstrap.jar

Sofus Albertsen commented Sep 26 '12, 10:36 a.m.

And these 3 lines for the end of the process: -Dcatalina.base=/opt/IBM/JazzTeamServer/server/tomcat -Dcatalina.home=/opt/IBM/JazzTeamServer/server/tomcat org.apache.catalina.startup.Bootstrap start

permanent link
Clement Liu (1.5k54249) | answered Sep 26 '12, 10:39 a.m.
 Can you actually take a full screen shot of this in your environment? 

Sofus Albertsen commented Sep 26 '12, 10:42 a.m.

Clement Liu commented Sep 26 '12, 10:49 a.m.

Hrm... getActiveServiceInfo is the only one? Then doesn't look like RTC server is busy with anything... wait... seems like you're looking at the JTS admin console... not the RTC admin console...

Can you actually take a screen shot of your RTC admin console?

The url should be:




Sofus Albertsen commented Sep 26 '12, 10:56 a.m.

Darn, i apologize for that one: Seems there acctually is another thread running

Clement Liu commented Sep 26 '12, 11:10 a.m.

That thread is actually OK, only running for 7 secs and I bet it will disappear soon. Hrm... it doesn't look either JTS or RTC is busy... From your screen shot of Htop, I am wondering why there are so many Java processes running at the same time and each grabbing 34% of Memory??? I would suggest to submit a PMR to IBM support for them to dig into...Sorry...not a great help..

Ralph Schoon commented Sep 26 '12, 11:36 a.m.

Could this be a garbage collection issue?

Sofus Albertsen commented Sep 26 '12, 12:47 p.m.

@Clement, I will try that, but thanks for your help anyway! @Ralph, i have tried to restart the server, and right after the initial startup, the process is running. if i refresh the active services, the seems to be running exactly 14 seconds, and the starts all over again. I suspect somekind of deadlock?

Sofus Albertsen commented Sep 27 '12, 3:51 a.m.

I have created a PMR here.
Hope it helps.

Krzysztof Ka┼║mierczyk commented Apr 11 '13, 4:13 a.m.

Hi Sofus,
Were you able to fix the issue? What was the root cause and the resolution?

showing 5 of 8 show 3 more comments

Your answer

Register or to post your answer.