[Bugs] [Bug 1417539] New: Systemtap scripts to monitor leaks across GlusterFS protocol

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 30 07:35:55 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1417539

            Bug ID: 1417539
           Summary: Systemtap  scripts to monitor leaks across GlusterFS
                    protocol
           Product: GlusterFS
           Version: mainline
         Component: coreutils
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: sarora at redhat.com
                CC: bugs at gluster.org



Description of problem:
Across GlusterFS code there could be few memory leaks and reference leaks which
may end up consuming lots of system memory/resources and are very tough to
debug. There are few tools like valgrind etc available which report leaks from
the time of process start till it exits. But that's not sufficient at times. We
also need to be able to debug and find out these leaks in the live system if
needed.

So we have decided to use systemtap scripts (already widely used for kernel
modules) to achieve the same. This bug is to track the various approaches being
discussed and provide the scripts to be used for debugging.

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

How reproducible:
N/A

Steps to Reproduce:
1. Run stap script which probes memory allocators and deallocators like
dict_ref() and dict_unref().
2. Perform io's on the corresponding probe process.
3. Analyze the output to check if there are any leaks

Actual results:
There should not be any leaks reported after the I/Os are finished.

Expected results:
Traces of the function from where leakage occurs.

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list