Bug 1714415 - Script to make it easier to find hung frames
Summary: Script to make it easier to find hung frames
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: scripts
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-28 04:17 UTC by Pranith Kumar K
Modified: 2019-05-30 15:56 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-30 15:56:11 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22777 0 None Merged scripts: Find hung frames given a directory with statedumps 2019-05-30 15:56:10 UTC

Description Pranith Kumar K 2019-05-28 04:17:34 UTC
Description of problem:
    Given a directory with statedumps captured at different times if
    there are any stacks that appear in multiple statedumps, we need a script which prints them. It would make it easier to reduce time to debug these kinds of issues.

I developed a script which does this and this is the sample output:
    glusterdump.25425.dump  repeats=5  stack=0x7f53642cb968  pid=0      unique=0  lk-owner=
    glusterdump.25427.dump  repeats=5  stack=0x7f85002cb968  pid=0      unique=0  lk-owner=
    glusterdump.25428.dump  repeats=5  stack=0x7f962c2cb968  pid=0      unique=0  lk-owner=
    glusterdump.25428.dump  repeats=2  stack=0x7f962c329f18  pid=60830  unique=0  lk-owner=88f50620967f0000
    glusterdump.25429.dump  repeats=5  stack=0x7f20782cb968  pid=0      unique=0  lk-owner=
    glusterdump.25472.dump  repeats=5  stack=0x7f27ac2cb968  pid=0      unique=0  lk-owner=
    glusterdump.25473.dump  repeats=5  stack=0x7f4fbc2cb9d8  pid=0      unique=0  lk-owner=
NOTE: stacks with lk-owner=""/lk-owner=0000000000000000/unique=0 may not be hung frames and need further inspection

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2019-05-28 04:20:03 UTC
REVIEW: https://review.gluster.org/22777 (scripts: Find hung frames given a directory with statedumps) posted (#1) for review on master by Pranith Kumar Karampuri

Comment 2 Worker Ant 2019-05-30 15:56:11 UTC
REVIEW: https://review.gluster.org/22777 (scripts: Find hung frames given a directory with statedumps) merged (#3) on master by Amar Tumballi


Note You need to log in before you can comment on or make changes to this bug.