Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1258267 - 1 mkdir generates tons of log messages from dht xlator
1 mkdir generates tons of log messages from dht xlator
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: distribute (Show other bugs)
3.1
Unspecified Unspecified
medium Severity medium
: ---
: RHGS 3.2.0
Assigned To: Susant Kumar Palai
Prasad Desala
dht-log, dht-qe-3.2, dht-3.2.0-proposed
:
Depends On: 1215816
Blocks: 1351522 1366495 1366496
  Show dependency treegraph
 
Reported: 2015-08-30 14:49 EDT by Pranith Kumar K
Modified: 2017-03-23 01:23 EDT (History)
20 users (show)

See Also:
Fixed In Version: glusterfs-3.8.4-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1215816
: 1366495 (view as bug list)
Environment:
Last Closed: 2017-03-23 01:23:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0486 normal SHIPPED_LIVE Moderate: Red Hat Gluster Storage 3.2.0 security, bug fix, and enhancement update 2017-03-23 05:18:45 EDT

  None (edit)
Comment 4 Pranith Kumar K 2016-06-03 03:21:58 EDT
Sakshi,
        Ashish worked on this logging patch and I believe they are merged now. So this shouldn't happen.

Pranith
Comment 5 Nithya Balachandran 2016-08-01 04:44:26 EDT
The following message should have their log levels changed to DEBUG:



In dht_fix_layout_of_directory ():
gf_msg (this->name, GF_LOG_INFO, 0,
                                DHT_MSG_SUBVOL_INFO,
                                "subvolume %d (%s): %u chunks", i,
                                priv->subvolumes[i]->name,
                                priv->du_stats[i].chunks);


This message alone took up about 2GB of a 2.9GB rebalance log file.
Comment 7 Nithya Balachandran 2016-09-01 04:45:42 EDT
Moving this to POST as the patch has been posted upstream:

master: http://review.gluster.org/15343
Comment 8 Atin Mukherjee 2016-09-17 11:23:10 EDT
Upstream mainline : http://review.gluster.org/15343
Upstream 3.8 : http://review.gluster.org/15413

And the fix is available in rhgs-3.2.0 as part of rebase to GlusterFS 3.8.4.
Comment 11 Prasad Desala 2016-10-06 03:23:53 EDT
Verified this bug with glusterfs version: 3.8.4-2.el7rhgs.x86_64. 

After the fix, DHT layout logs those are being generated during mkdir creation are no longer seen with default log level. Layout logs are moved to DEBUG level and user will be able to see those logs only if the log level is set to DEBUG.

Hence, moving this bug to verified.
Comment 14 errata-xmlrpc 2017-03-23 01:23:28 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2017-0486.html

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