Bug 1273140 - wrong usage estimation
Summary: wrong usage estimation
Keywords:
Status: CLOSED DUPLICATE of bug 1109935
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 2.2.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: Jianwei Hou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-19 18:10 UTC by mike
Modified: 2016-01-20 20:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-20 20:56:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description mike 2015-10-19 18:10:41 UTC
Description of problem:
Quota script show wring usage, which become valid after application restart


Version-Release number of selected component (if applicable):
diy
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:
523440

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 20:56:59 UTC
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.