JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
CLOSED  Feature request JPPF-119  -  Add JVM state monitoring and diagnostics for JPPF components
Posted Jan 24, 2013 - updated Mar 25, 2013
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Feature request
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Management / Monitoring
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 3.3
Issue description
The ThreadMXBean API provides a way to detect deadlocks in the JVM. We could add a timer to the nodes, drivers or clients that would perform regular checks and send out an alert when a deadlock is found. In fact, we could include more detailed diagnostics (state of the heap and non-heap memory, CPU usage when available, etc...). In fact, we could add new JMX MBeans to the nodes and drivers for this purpose, and add the corresponding functionality in the administration and monitoring console.


#2
Comment posted by
 lolo4j
Feb 23, 21:52
Here's a screenshot of how it looks for now:

http://www.jppf.org/images/JVMHealthMonitoring.gif
#4
Comment posted by
 lolo4j
Mar 22, 20:03
Initial code commit for this feature: trunk revision 2658.

Implemented a new set of MBeans for JVM monitoring of the drivers and nodes, including the following:
  • taking snapshots of the JVM's memory (heap and non-heap) usage, live threads count and deadlock indicator, CPU load
  • trigger a gabarge collection in the reomte JVM
  • get a full thread dump, including detection and descriptions of deadlocks if any
  • trigger heap dumps (only works with IBM JVM and Oracle "standard" and JRockit JVMs)


The documentation remains to be written for this.
#5
Comment posted by
 lolo4j
Mar 22, 20:05
A file was uploaded.
screenshot of deadlock monitoring in the admin console
screenshot of deadlock monitoring in the admin consoleicon_open_new.png
#6
Comment posted by
 lolo4j
Mar 25, 09:35
The documentation has been updated for this feature.

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from Confirmed to Closed.
  • This issue's progression has been updated to 100 percent completed.
  • The resolution has been updated, from Not determined to RESOLVED.
  • Information about the user working on this issue has been changed, from lolo4j to Not being worked on.