Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CPU increases over time when program is idle

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 23956
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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??

 
Your mother is a hamster and your father smells of tiny ads!
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic