Bug 1493157 - [Gluster-block]: Configshell logs set at debug level - memory consumption at risk
Summary: [Gluster-block]: Configshell logs set at debug level - memory consumption at ...
Keywords:
Status: CLOSED DUPLICATE of bug 1493113
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-block
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Prasanna Kumar Kalever
QA Contact: Rahul Hinduja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-19 13:38 UTC by Sweta Anandpara
Modified: 2017-09-19 13:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-19 13:41:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Sweta Anandpara 2017-09-19 13:38:53 UTC
Description of problem:
=======================
gluster-block-configshell.log is set at debug level. On a new setup where gluster-block feature has been exercised for half a (working) day, the file size is ~40M. This is going to eat away a significant bit of memory in customer environment, more so if their clients are going to be working round-the-clock. Alarming, if the logging is taking place in root partition.

By default, the logging needs to be set at INFO level. Better yet, if it is made configurable.

Version-Release number of selected component (if applicable):
============================================================
tcmu-runner-1.2.0-15, gluster-block-0.2.1-13


How reproducible:
================
Always. It has been like this from the beginning


Additional info:
===============

On a fresh setup where gluster-block testing has taken place for 6 hours.

[root@dhcp43-31 ~]# ll /var/log/gluster-block/
total 72016
-rw-r--r--. 1 root root     7313 Sep 19 17:07 gluster-block-cli.log
-rw-r--r--. 1 root root 41935815 Sep 19 18:56 gluster-block-configshell.log
-rw-r--r--. 1 root root   342880 Sep 19 18:56 gluster-blockd.log
-rw-------. 1 root root    54556 Sep 19 17:05 gluster-block-gfapi.log
-rw-------. 1 root root    74568 Sep 19 17:09 tcmu-runner-glfs.log
-rw-------. 1 root root       93 Sep 19 15:22 tcmu-runner.log
[root@dhcp43-31 ~]# 
[root@dhcp43-31 ~]# rpm -qa | grep gluster-block
gluster-block-0.2.1-13.el7rhgs.x86_64
[root@dhcp43-31 ~]# rpm -qa | grep tcmu-runner
tcmu-runner-1.2.0-15.el7rhgs.x86_64
[root@dhcp43-31 ~]# rpm -qa | grep gluster
gluster-nagios-common-0.2.4-1.el7rhgs.noarch
glusterfs-server-3.8.4-44.el7rhgs.x86_64
glusterfs-rdma-3.8.4-44.el7rhgs.x86_64
glusterfs-api-3.8.4-44.el7rhgs.x86_64
vdsm-gluster-4.17.33-1.2.el7rhgs.noarch
glusterfs-client-xlators-3.8.4-44.el7rhgs.x86_64
glusterfs-debuginfo-3.8.4-44.el7rhgs.x86_64
glusterfs-cli-3.8.4-44.el7rhgs.x86_64
glusterfs-fuse-3.8.4-44.el7rhgs.x86_64
libvirt-daemon-driver-storage-gluster-3.2.0-14.el7_4.3.x86_64
glusterfs-geo-replication-3.8.4-44.el7rhgs.x86_64
samba-vfs-glusterfs-4.6.3-5.el7rhgs.x86_64
gluster-nagios-addons-0.2.9-1.el7rhgs.x86_64
glusterfs-3.8.4-44.el7rhgs.x86_64
python-gluster-3.8.4-44.el7rhgs.noarch
glusterfs-libs-3.8.4-44.el7rhgs.x86_64
gluster-block-0.2.1-13.el7rhgs.x86_64
[root@dhcp43-31 ~]#

Comment 2 Atin Mukherjee 2017-09-19 13:41:19 UTC

*** This bug has been marked as a duplicate of bug 1493113 ***


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