[Bugs] [Bug 1598548] New: Disabling iostats diagnostics.stats-dump-interval ( set ot 0) does not terminate the dump thread

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 5 18:43:17 UTC 2018


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

            Bug ID: 1598548
           Summary: Disabling iostats diagnostics.stats-dump-interval (set
                    ot 0) does not terminate the dump thread
           Product: GlusterFS
           Version: mainline
         Component: io-stats
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: srangana at redhat.com
                CC: bugs at gluster.org



Description of problem:
On any Gluster volume, enable profiling and then set a value for
diagnostics.stats-dump-interval, post this set the value for
diagnostics.stats-dump-interval back to 0. This does not terminate the internal
iostats dump thread, rather the thread hardly sleeps and keeps dumping
information in a tight loop.

Further, post setting the value to 0, if this is set to another non-zero value,
a new dump thread is created.

IOW, the dump thread is never terminated in a running gluster process with
io-stats in the graph.

Thread presence can be checked using gstack <PID> | grep dump to see the
_ios_dump_thread in one or more process stacks.

How reproducible: Always

Steps to Reproduce: (in Description)

-- 
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