• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CPU increases over time when program is idle

 
Mike Gerrad
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a program (test) running on Application 4.3 and Application 4.2
Test running on App. 4.2 has 19 threads and it's stable based on Jconsole monitoring

attach listner
com.ibm.logging.filehandler:EDMsgHandler
com.ibm.logging.filehandler:EDMsgHandler
com.ibm.logging.filehandler:EDTrcHandler
com.ibm.logging.filehandler:EDTrcHandler
finalizer
JMX server connection timeout 25
main
reference handler
rmi scheduler(0)
rmi tcp accept-0
rmi tcp connection(4)-127.0.0.1
rmi tcp connection(5)-127.0.0.1
rmi tcp connection(6)-127.0.0.1
thread-0
Thread-1
Thread-2
Thread-3
Thread-4

Test running on App. 4.3 has 21 threads and it's not stable based on Jconsole monitoring (fluctuates 19 - 21)

attach listner
com.ibm.logging.filehandle
com.ibm.logging.filehandle
com.ibm.logging.filehandle
com.ibm.logging.filehandle
finalizer
jmx server connection time
main
reference handler
rmi scheduler(0)
rmi tcp accept-0
rmi tcp connection(22)-12
rmi tcp connection(23)-12
rmi tcp connection(24)-12
rmi tcp connection(25)-12
rmi tcp connection(26)-12
thread-0
thread-1
thread-2
thread-3
thread-4

The only extra threads I've noticed in App. 4.3 are the following types
rmi tcp connection type (2 extra)

Problem
CPU resource is being consumed over time in App 4.3 even when program test is idle.

Question
What does this type of thread do and could you give me any pointers on where to look.

Thank You for any input
 
Henry Wong
author
Marshal
Pie
Posts: 22124
88
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike Gerrad wrote:
Question
What does this type of thread do and could you give me any pointers on where to look.


Those are not thread types, they are merely the name of the threads. And a Java program can name a thread anything that it wants to, so all you can do is speculate on what the threads does by its given name -- meaning it is related to RMI communications.

Henry
 
Alan Mehio
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

rmi tcp connection

CPU resource is being consumed over time in App 4.3 even when program test is idle.


It is difficult to guess what the thread is doing unless we can see the code. My guess is the rmi thread is doing some thing in a periodic way. Do you see the CPU resource goes up and down or what pattern do you see??

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic