|
List Info
Thread: RE: Question on memory usage
|
|
| RE: Question on memory usage |

|
2007-01-22 18:33:10 |
|
Thank you for your reply, Frank.
What I don't understand is that, on n11, there is
6289408 - 4896448 = 1392960 kB of swap being used, but
there is 2521308 kB of free memory. Since there is
still 2521308 kB of free memory, why would any swap be
needed at all?
The swappiness setting is the same on both machines
and has not been modified.
By the way, I forgot to mention that the version of
Linux is 2.6.9-34.
Rigoberto
--- "Lamon, Frank III" csx.com> wrote:
> 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-bounces redhat.com
> [mailto:rhn-users-bounces redhat.com]On Behalf Of
> Rigoberto Corujo
> Sent: Monday, January 22, 2007 5:05 PM
> To: rhn-users redhat.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?
>
> [root n5 ~]# 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
>
>
> [root n11 ~]# 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-users redhat.com
> https://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-users redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
>
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265
_______________________________________________
rhn-users mailing list
rhn-users redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users
|
| Re: Question on memory usage |

|
2007-01-22 18:46:38 |
|
_______________________________________________
rhn-users mailing list
rhn-users redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users |
| Re: Question on memory usage |

|
2007-01-23 18:15:27 |
|
use the command 'top' to check what is going on, this will give you a
better look at what is going on...might be a
maintenance job that is being launched via cron. You'll be able to see
it with top...
good luck
-G
Rigoberto Corujo wrote:
> Thank you for your reply, Frank.
>
> What I don't understand is that, on n11, there is
> 6289408 - 4896448 = 1392960 kB of swap being used, but
> there is 2521308 kB of free memory. Since there is
> still 2521308 kB of free memory, why would any swap be
> needed at all?
>
> The swappiness setting is the same on both machines
> and has not been modified.
>
> By the way, I forgot to mention that the version of
> Linux is 2.6.9-34.
>
> Rigoberto
>
> --- "Lamon, Frank III" csx.com> wrote:
>
>
>> 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-bounces redhat.com
>> [mailto:rhn-users-bounces redhat.com]On Behalf Of
>> Rigoberto Corujo
>> Sent: Monday, January 22, 2007 5:05 PM
>> To: rhn-users redhat.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?
>>
>> [root n5 ~]# 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
>>
>>
>> [root n11 ~]# 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-users redhat.com
>> https://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-users redhat.com
>> https://www.redhat.com/mailman/listinfo/rhn-users
>>
>>
>
>
>
>
> ____________________________________________________________________________________
> We won't tell. Get more on shows you hate to love
> (and love to hate): Yahoo! TV's Guilty Pleasures list.
> http://tv.yahoo.com/collections/265
>
> _______________________________________________
> rhn-users mailing list
> rhn-users redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
>
>
>
>
_______________________________________________
rhn-users mailing list
rhn-users redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users
|
[1-3]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|