Bug 1182890 - Quota: soft-timeout and hard-timeout of quota - expected behavior
Summary: Quota: soft-timeout and hard-timeout of quota - expected behavior
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: doc-Administration_Guide
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: storage-doc
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 999458 1001548 1019752 1020275 1023120 1026371 1116115 1116121 1182921
TreeView+ depends on / blocked
 
Reported: 2015-01-16 07:16 UTC by Vijaikumar Mallikarjuna
Modified: 2016-05-11 22:48 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1182921 (view as bug list)
Environment:
Last Closed: 2015-01-22 10:07:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Vijaikumar Mallikarjuna 2015-01-16 07:16:01 UTC
Currently below mentioned bugs are marked as known issues. Actually they are expected behavior of quota.

Bug# 1026371 - quota: Soft limit alert not triggered after increasing quota size and even after modifying soft-limit %age
Bug# 1023120 - Appending data to a file using Vi editor violates quota limits
Bug# 1020275 - quota: Exceeding upto 100% of the hard limit on file creation with different sizes and quota limit is less than 2GB.
Bug# 1019752 - [Quota] quota fails generate alerts on the slave in a geo-rep setup even after slave has crossed soft-limit
Bug# 1116121 - Quota: Soft limits are not triggered when the hard limit is exceeded.
Bug# 1116115 - Quota: Smaller limits getting crossed by as much as 300%
Bug# 999458 - quota: limit gets crossed for small values of "hard limit" setting
Bug# 1001548 - quota: disk quota was set to 1.0GB but could create a file of 1.4GB from mount.



Here is the behavior of quota:
If the rate of I/O is more than the value of hard-timeout and soft-timeout, there is possibility of quota limit being exceeded
For example:

If the rate of IO is 1GB/sec
If hard-timeout is set to 5sec (default value).
If soft-timeout is set to 60sec (default value).

Then we may exceed quota limit by ~30GB - 60GB

In order to attain a strict checking of quota limit, then you need to lower the value of hard-timeout and soft-timeout
Command to set timeout:
gluster volume quota <volume-name> soft-timeout 0
gluster volume quota <volume-name> hard-timeout 0

Comment 2 Bhavana 2015-01-22 10:07:11 UTC
Hi Vijai,


I found that the information suggested by you is already present in the Admin guide that is added as a note under section 13.5.

https://access.redhat.com/documentation/en-US/Red_Hat_Storage/2.1/html/Administration_Guide/ch13s05.html

Based on our discussion this information is sufficient and hence closing this bug.


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