From: Shane Walton <dsrelist@yahoo.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Incorrect Memory Management (Possible Leak)
Date: Wed, 1 May 2002 05:07:25 -0700 (PDT) [thread overview]
Message-ID: <20020501120725.46310.qmail@web20807.mail.yahoo.com> (raw)
The following is the result of a system after sitting
idle for 24+ hours following a reboot. Initially
after
the reboot, all memory is reported correctly. After
sitting idle for more than 24 hours, /proc/meminfo
does not account for memory usage. This is mostly a
problem when trying to allocate contiguous DMA'able
pages for a device driver. /proc/meminfo shows:
Total: 255140 Kb
Used: 241620 Kb
Free: 13520 Kb
Shared: 0 Kb
Buffers: 23024 Kb
Cahced: 70192 Kb
Buffers + Cache = 93216 Kb
Buffers + Cache + Free = 106736 Kb (Total Free)
This suggests that an idle system that has not done
a single manual process, (except `free` and `cat`) is
using 148404 Kb. Any thoughts or explanations are
welcome. Thanks.
Machine Setup:
OS: Red Hat 6.2
ARCH: Dual P3 1 GHz 256MB RAM
Kernel: 2.4.18 SMP
# cat /proc/meminfo
total: used: free: shared: buffers:
cached:
Mem: 261263360 235102208 26161152 0 23543808
69218304
Swap: 526376960 716800 525660160
MemTotal: 255140 kB
MemFree: 25548 kB
MemShared: 0 kB
Buffers: 22992 kB
Cached: 67124 kB
SwapCached: 472 kB
Active: 63072 kB
Inactive: 59532 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 255140 kB
LowFree: 25548 kB
SwapTotal: 514040 kB
SwapFree: 513340 kB
# free -t
total used free shared
buffers cached
Mem: 255140 241620 13520 0
23024 70192
-/+ buffers/cache: 148404 106736
Swap: 514040 700 513340
Total: 769180 242320 526860
=====
Shane M. Walton, Software Engineer
Digital System Resources, Inc.
dsrelist@yahoo.com : swalton@dsrnet.com
703.234.1674
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
reply other threads:[~2002-05-01 12:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020501120725.46310.qmail@web20807.mail.yahoo.com \
--to=dsrelist@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®