Bug 1273140 - wrong usage estimation
wrong usage estimation
Status: CLOSED DUPLICATE of bug 1109935
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
All Linux
unspecified Severity high
: ---
: ---
Assigned To: Abhishek Gupta
Jianwei Hou
Depends On:
  Show dependency treegraph
Reported: 2015-10-19 14:10 EDT by mike
Modified: 2016-01-20 15:56 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-01-20 15:56:59 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description mike 2015-10-19 14:10:41 EDT
Description of problem:
Quota script show wring usage, which become valid after application restart

Version-Release number of selected component (if applicable):
and probably on other components

How reproducible:

Steps to Reproduce:
1. Have component with application wich actively use filesystem, write to it and logrotator, which rotate logs, deleting oversized
2. execute "quota -w|egrep -v '(quotas|Filesystem)'|awk -F ' ' '{ print $2}'"
3. du -cksh *

Actual results:

Expected results:
470M    total

Additional info:
Also made masurement with this command "rhc show-app diy --gears quota"
55e3779b89f5cf236f000081 diy-0.1 cron-1.4 mongodb-2.4 mmahut-quotamonitor-1.0 0.5 GB  1 GB

recently saw like result of this command and "du -cksh *" showed usage 0.6 GB and "quota" showed that usage oversized
Comment 2 Timothy Williams 2016-01-20 15:56:59 EST
Closing this as a duplicate of 1109935

The difference between openshift's use of `du` and `quota` is being addressed in 1109935.

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

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