Bug 626658 - ksmtuned misinterprets /proc/meminfo
Summary: ksmtuned misinterprets /proc/meminfo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Justin M. Forbes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-24 02:38 UTC by Rik van Riel
Modified: 2013-01-09 11:39 UTC (History)
16 users (show)

Fixed In Version: qemu-0.13.0-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-19 10:28:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rik van Riel 2010-08-24 02:38:34 UTC
Description of problem:

free_memory () {
    awk '/^(MemFree|Buffers|MemCached):/ {free += $2}; END {print free}' \
                /proc/meminfo
}

The above code looks for a MemCached line in /proc/meminfo, which has never existed.  Instead, the name is just Cached.

RHEL6 ksmtuned gets this right, but for some reason Fedora 13 still has the bug.

Version-Release number of selected component (if applicable):

qemu-common-0.12.3-8.fc13.x86_64

Comment 2 Fedora Update System 2011-03-03 23:37:21 UTC
Package qemu-0.13.0-1.fc13:
* should fix your issue,
* was pushed to the Fedora 13 updates-testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing qemu-0.13.0-1.fc13'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/qemu-0.13.0-1.fc13
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-03-04 09:59:19 UTC
qemu-0.13.0-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update qemu'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/qemu-0.13.0-1.fc13

Comment 4 Fedora Update System 2011-03-19 10:28:06 UTC
qemu-0.13.0-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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