RE: RHEL 4 - Memory Problem



Dmesg reads from /var/log/messages, when it's first reboots, you might nee memory info through dmesg, dmeg is not right command to see memory usage, free and cat /proc/meminfo are the right commands.

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Troy Knabe
Sent: Friday, March 16, 2007 1:17 PM
To: General Red Hat Linux discussion list
Subject: Re: RHEL 4 - Memory Problem


dmesg |grep -i Memory

returned nothing for me.

-Troy

----- Original Message -----
From: Nuwan <nrfromlk@xxxxxxxxx>
Date: Friday, March 16, 2007 3:32 am
Subject: Re: RHEL 4 - Memory Problem
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>

Try the following ;

# dmesg | grep Memory:

Memory: 2071680k/2097088k available (1848k kernel code, 24692k
reserved, 752k data, 184k init, 0k highmem)

This will gave u enough understanding about the linux available memory
!


On 3/16/07, baran.yurdagul@xxxxxxxxxxxxxxx
<baran.yurdagul@xxxxxxxxxxxxxxx> wrote:
Hi,
If you look at the free output you will see that altough 162M
of your memory is free, the cached memory is  ~15GB which means kernel
is ready for giving that area to any application that needs memory.
Linux has allocated that memoy for some reason, and if it is needed it
can give it back.
I hope I am clear enough.



-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
bounces@xxxxxxxxxx] On Behalf Of qua nong
Sent: Friday, March 16, 2007 6:50 AM
To: General Red Hat Linux discussion list
Subject: Re: RHEL 4 - Memory Problem

Hi,

Below is the output of free

# free
             total               used           free         shared   
buffers     cached
Mem:      16360260
16197904     162356          0     256496   14974144
-/+ buffers/cache:     967264
15392996> Swap:
33551744     186960   33364784

May I also ask you that as you mentioned that you run Oracle
RAC on linux box. Do you use RHEL3 cluster or 4, GFS or OCFS ?

Qua


----- Original Message ----
From: Troy Knabe <knabe@xxxxxxxxxxx>
To: General Red Hat Linux discussion list <redhat-
list@xxxxxxxxxx>> Sent: Friday, March 16, 2007 3:20:02 PM
Subject: Re: RHEL 4 - Memory Problem

Try running the command "free"  I think, although I don't
know why and would love for someone on this list to answer this
question that this is a better actual representation of the free
memory on the box.

I am running the same config as you, only 3 boxes with 8 gig
of RAM each and Oracle RAC.

My hunch is that top and vmstat are showing the actual memory
locations that are empty, where a "free" command shows the memory
addresses that while may have something in them, are able to be
recycled and used.

Can someone verify that I am right or way off base?

Thanks
-Troy


----- Original Message -----
From: qua nong <quanong_os@xxxxxxxxx>
Date: Thursday, March 15, 2007 9:02 pm
Subject: RHEL 4 - Memory Problem
To: redhat-list@xxxxxxxxxx

Hi list,

We have a AMD with RHEL4 64 installed and the Oracle 10g
installed as
well.
It has  the latest kernel update 2.6.9-42.0.8.ELsmp but
the memory is
always being used by some unexplained processes.

There are 4 CPUs, 16 GB RAM, 33GB swap but memory used = 16148872k

Even when oracle is shutdown, a memory use  is
still nearly 16GB. CPU
is 99.4 % in idle, and I/O is too quiet. This is quite
difficult to
explain.

Could anyone have any idea ?

Here is the display of the top command

top - 14:57:33 up 30 days, 22:29,  3 users,  load
average: 0.22, 0.10, 0.02
Tasks: 121 total,   1 running, 120 sleeping,   0 stopped,   0
zombie
Cpu(s):  0.0% us,  0.0% sy,  0.0% ni, 99.4%
id,  0.6% wa,  0.0% hi,
0.0% si
Mem:  16360260k total, 16198280k used,   161980k free,   256496k
buffers
Swap: 33551744k total,   186960k used, 33364784k free, 14973940k
cached

  vmstat 2
procs -----------memory---------- ---swap-- -----io---- --
system-
- ----cpu----
  r  b   swpd   free
buff  cache   si   so
bi    bo   in    cs us
sy id wa
  0  0 186960 161420 256496 14973940 0    0     1
112    3     1  0
0 99  1
  0  0 186960 162284 256496 14973940 0    0     0   170
1021  2162  0  0 100  0
  0  0 186960 162276 256496 14973940 0    0 0    44 1009  2149  0 
0
100  0
  0  0 186960 162284 256496 14973940 0    0 0    42 1008  2244  0 
0
99  0
  0  0 186960 162292 256496 14973940 0    0 0    48 1011  2164  0 
0
99  0
  0  0 186960 162292 256496 14973940 0    0 0    56 1006  2118  0 
0
100  0
  0  0 186960 162292 256496 14973940 0    0 0    66 1011  2154  0 
0
98  2



cat /proc/meminfo
MemTotal:     16360260 kB
MemFree:        162740 kB
Buffers:        256496 kB
Cached:       14973940 kB
SwapCached:       9724 kB
Active:        2709340 kB
Inactive:     12799980 kB

HighTotal:           0 kB

HighFree:            0 kB
LowTotal:     16360260 kB
LowFree:        162740 kB
SwapTotal:    33551744 kB
SwapFree:     33364784 kB

Dirty:             332 kB
Writeback:
140 kB
Mapped:        1147256 kB

Slab:           608056 kB
CommitLimit:  41731872 kB
Committed_AS:  7853044 kB
PageTables:      39080 kB
VmallocTotal: 536870911 kB
VmallocUsed:     16760 kB
VmallocChunk: 536854071 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     2048 kB










______________________________________________________________________
______________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
--
redhat-list mailing list
unsubscribe mailto:redhat-list-
request@xxxxxxxxxx?subject÷subscribe> >
https://www.redhat.com/mailman/listinfo/redhat-list


  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Troy Knabe
Senior Systems Administrator
Computing and Information Services
4J School District
knabe@xxxxxxxxxxx
Ph: 541.687.3587
Cell: 541.968.0780

--
redhat-list mailing list
unsubscribe mailto:redhat-list-
request@xxxxxxxxxx?subject=unsubscribe>
https://www.redhat.com/mailman/listinfo/redhat-list









____________________________________________________________________________________> 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list



************************************************************************> Bu elektronik posta ve onunla iletilen bütün dosyalar sadece göndericisi tarafindan almasi amaclanan yetkili gercek ya da tüzel kisinin kullanimi icindir.  Eger söz konusu yetkili alici degilseniz bu elektronik postanin icerigini aciklamaniz, kopyalamaniz, yönlendirmeniz ve kullanmaniz kesinlikle yasaktir ve bu elektronik postayi derhal silmeniz gerekmektedir.
TURKCELL bu mesajin icerdigi bilgilerin doğruluğu veya
eksiksiz oldugu konusunda herhangi bir garanti vermemektedir.  Bu
nedenle bu bilgilerin ne sekilde olursa olsun iceriginden,
iletilmesinden, alinmasindan ve saklanmasindan sorumlu degildir. Bu
mesajdaki görüsler yalnizca gönderen kisiye aittir ve TURKCELLin
görüslerini yansitmayabilir
Bu e-posta bilinen bütün bilgisayar virüslerine karsi taranmistir.

************************************************************************> This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are hereby notified that any dissemination, forwarding, copying or use of any of the information is strictly prohibited, and the e-mail should immediately be deleted.
TURKCELL makes no warranty as to the accuracy or completeness
of any information contained in this message and hereby excludes any
liability of any kind for the information contained therein or for the
information transmission, reception, storage or use of such in any way
whatsoever.  The opinions expressed in this message belong to sender
alone and may not necessarily reflect the opinions of TURKCELL.
This e-mail has been scanned for all known computer viruses.

**********************************************************************
**>

--
redhat-list mailing list
unsubscribe mailto:redhat-list-
request@xxxxxxxxxx?subject=unsubscribe>
https://www.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Troy Knabe
Senior Systems Administrator
Computing and Information Services
4J School District
knabe@xxxxxxxxxxx
Ph: 541.687.3587
Cell: 541.968.0780

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: RHEL 4 - Memory Problem - Thanks
    ... Is there any manuals/doc that explain about Linux memory management, could you please point me into the right directions as I flicked back the training course materials "RH300", I could not find much in there. ... RHEL 4 - Memory Problem ...
    (RedHat)
  • Re: RHEL 4 - Memory Problem
    ... No, I'm not using hugemem. ... RHEL 4 - Memory Problem ...
    (RedHat)
  • Re: Kernel crash in xfs_iflush_cluster (was Somebody take a look please!...)
    ... directory corruption that 2.8.11 didn't detect that 3.1.1 does. ... It looks like the bad inodes are confined to two inode clusters. ... Btw memory corruption: ... In the beginnig of march, one of my bets was memory problem too, but the server was offline for 7 days, and all the time runs the memtest86 on the hw, and passed all the 8GB 74 times without any bit error. ...
    (Linux-Kernel)
  • RE: RHEL 4 - Memory Problem
    ... RHEL 4 - Memory Problem ... VmallocChunk: 536854071 kB ...
    (RedHat)
  • Re: type 2 error when opening Word 98
    ... Applying the updates probably won't help at this point. ... 13,620K Preferred memory assigned to Word 98 is not that much. ... Still get the same system error on start-up. ... >> It could well be a memory problem since Type 2 errors are system errors. ...
    (microsoft.public.mac.office.word)