List Info

Thread: Question on memory usage




Question on memory usage
user name
2007-01-22 16:04:49
Hello,

I have two machines which have the same amount of
total memory.  When the machines are booted, the
amount of free memory is the same as shown by
"/proc/meminfo".  After a period of time, the
amount
of free memory differs betweem the two machines even
though, at the time I'm taking a reading of
"/proc/meminfo", both machines are not running
anything other than the same minimal set of processes.
 That is, no user apps.  Just the bare bones system
processes.

Here's an example of two machines, n5 and n11, and
their "/proc/meminfo" values.  Can someone explain
why
this situation would occur and is there any why to
tell Linux to reclaim any memory that's not actually
being used?

[rootn5 ~]# cat /proc/meminfo
MemTotal:      4037388 kB
MemFree:       3814020 kB
Buffers:         24868 kB
Cached:          61404 kB
SwapCached:      60064 kB
Active:          34188 kB
Inactive:       119224 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      4037388 kB
LowFree:       3814020 kB
SwapTotal:     6289408 kB
SwapFree:      6228780 kB
Dirty:               0 kB
Writeback:           0 kB
Mapped:          24776 kB
Slab:            37776 kB
Committed_AS:    50692 kB
PageTables:       1232 kB
VmallocTotal: 536870911 kB
VmallocUsed:     15788 kB
VmallocChunk: 536855115 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     2048 kB


[rootn11 ~]# cat /proc/meminfo
MemTotal:      4037388 kB
MemFree:       2521308 kB
Buffers:         17676 kB
Cached:          27108 kB
SwapCached:    1392056 kB
Active:          39660 kB
Inactive:      1403784 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      4037388 kB
LowFree:       2521308 kB
SwapTotal:     6289408 kB
SwapFree:      4896448 kB
Dirty:               0 kB
Writeback:           0 kB
Mapped:          24324 kB
Slab:            40444 kB
Committed_AS:    50832 kB
PageTables:       1232 kB
VmallocTotal: 536870911 kB
VmallocUsed:     15788 kB
VmallocChunk: 536855115 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     2048 kB

Thank you.

Rigoberto


 
____________________________________________________________
________________________
Any questions? Get answers on any topic at
www.Answers.yahoo.com.  Try it now.

_______________________________________________
rhn-users mailing list
rhn-usersredhat.com
htt
ps://www.redhat.com/mailman/listinfo/rhn-users

RE: Question on memory usage
user name
2007-01-22 16:12:36
Something doesn't jive here - n11 has done some swapping and
the OS "not running
anything other than the same minimal set of processes"
would not swap with 4GB of physical memory. Something is
requiring memory here and maybe the swappiness setting has
been modified, the OS just sitting there won't swap.

-----Original Message-----
From: rhn-users-bouncesredhat.com
[mailto:rhn-users-bouncesredhat.com]On Behalf Of
Rigoberto Corujo
Sent: Monday, January 22, 2007 5:05 PM
To: rhn-usersredhat.com
Subject: [rhn-users] Question on memory usage


Hello,

I have two machines which have the same amount of
total memory.  When the machines are booted, the
amount of free memory is the same as shown by
"/proc/meminfo".  After a period of time, the
amount
of free memory differs betweem the two machines even
though, at the time I'm taking a reading of
"/proc/meminfo", both machines are not running
anything other than the same minimal set of processes.
 That is, no user apps.  Just the bare bones system
processes.

Here's an example of two machines, n5 and n11, and
their "/proc/meminfo" values.  Can someone explain
why
this situation would occur and is there any why to
tell Linux to reclaim any memory that's not actually
being used?

[rootn5 ~]# cat /proc/meminfo
MemTotal:      4037388 kB
MemFree:       3814020 kB
Buffers:         24868 kB
Cached:          61404 kB
SwapCached:      60064 kB
Active:          34188 kB
Inactive:       119224 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      4037388 kB
LowFree:       3814020 kB
SwapTotal:     6289408 kB
SwapFree:      6228780 kB
Dirty:               0 kB
Writeback:           0 kB
Mapped:          24776 kB
Slab:            37776 kB
Committed_AS:    50692 kB
PageTables:       1232 kB
VmallocTotal: 536870911 kB
VmallocUsed:     15788 kB
VmallocChunk: 536855115 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     2048 kB


[rootn11 ~]# cat /proc/meminfo
MemTotal:      4037388 kB
MemFree:       2521308 kB
Buffers:         17676 kB
Cached:          27108 kB
SwapCached:    1392056 kB
Active:          39660 kB
Inactive:      1403784 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      4037388 kB
LowFree:       2521308 kB
SwapTotal:     6289408 kB
SwapFree:      4896448 kB
Dirty:               0 kB
Writeback:           0 kB
Mapped:          24324 kB
Slab:            40444 kB
Committed_AS:    50832 kB
PageTables:       1232 kB
VmallocTotal: 536870911 kB
VmallocUsed:     15788 kB
VmallocChunk: 536855115 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     2048 kB

Thank you.

Rigoberto


 
____________________________________________________________
________________________
Any questions? Get answers on any topic at
www.Answers.yahoo.com.  Try it now.

_______________________________________________
rhn-users mailing list
rhn-usersredhat.com
htt
ps://www.redhat.com/mailman/listinfo/rhn-users
-----------------------------------------
This email transmission and any accompanying attachments
may
contain CSX privileged and confidential information intended
only
for the use of the intended addressee.  Any dissemination,
distribution, copying or action taken in reliance on the
contents
of this email by anyone other than the intended recipient
is
strictly prohibited.  If you have received this email in
error
please immediately delete it and  notify sender at the above
CSX
email address.  Sender and CSX accept no liability for any
damage
caused directly or indirectly by receipt of this email.

_______________________________________________
rhn-users mailing list
rhn-usersredhat.com
htt
ps://www.redhat.com/mailman/listinfo/rhn-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )