High memory usage in AIX 5.1


 
Thread Tools Search this Thread
Operating Systems AIX High memory usage in AIX 5.1
# 1  
Old 02-11-2008
High memory usage in AIX 5.1

Hi,

We have AIX 5.1 machine of RAM 8 GB and paging space is 8GB. we are getting high memory usage of almost 99%.Can anybody please help in this ?

Partial vmstat o/p

kthr memory
----- -----------
r b avm fre
2 1 278727 1143

There is no paging issue.Becoz in vmstat output pi and po are always 0Should we need to increase the AVM (active virtual memory) or how to resolve this.


Regards,
Jayakumar
This User Gave Thanks to jayakumarrt For This Post:
# 2  
Old 02-11-2008
Jayakumar,

AIX is trying to get the most out of your memory, it is using the available memory as file cache. This to prevent reading from the 'slow' disks and thereby speeding up the system. When there is no paging then there is no reason to worry. If you want (and really, really want) to influence this behavior you can fiddle with the famous minperm/maxperm parameters..

If you look in this forum for the string "aix memory breakdown" you might find more info about this subject, "pagink" included a link that might give you a more in depth answer.
# 3  
Old 02-11-2008
Seems you have nothing to wory about there mate.
As rvegmond said AIX just uses memory like that.
If it isn't paging then there is nothing to worry about, AIX is just using the available physical memory to cache filesystem instead of keep waiting to write it in and out of disk space.
# 4  
Old 02-14-2008
Thanks for the reply.One thing i am wondering.Sometime back the server was having 4GB ram and recently upgraded to 8 GB.Before upgrading from 4 to 8 GB RAM it was showing 99% memory usage & after upgradation also the same case..

Can anybody throw light on this. ?
# 5  
Old 02-14-2008
Quote:
Originally Posted by jayakumarrt
Thanks for the reply.One thing i am wondering.Sometime back the server was having 4GB ram and recently upgraded to 8 GB.Before upgrading from 4 to 8 GB RAM it was showing 99% memory usage & after upgradation also the same case..

Can anybody throw light on this. ?
If you have the output of "vmstat" from before the upgrade ready have a look at it: i bet you will see a lot of swapping going on and probably now you won't see any (or at least much less than before). The same is perhaps true for the output of "lsps -a", which tells you about the utilization of the swapspaces: perhaps the numbers decreased steeply after upgrading the RAM.

UNIX tries to use the RAM given to it as efficiently as possible: First all the processes started get the memory they need. Some memory is set aside for network buffers, file cache, etc. If still memory is available these buffers will increase in size - which buffers increases how much depends on how the machine is used: more disk-I/O, more network traffic, etc.. The administrator can tune the kernel built-in heuristics with the tools vmo (virtual memory options), schedo (scheduler options), no (network options) and ioo (I/O-options). See the manpages of these tools and the documentation of /etc/tunables for more information.

If no memory is available after satisfying the started processes demands paging occurs: memory pages are taken from the "computational memory" (memory occupied by programs by swapping them out to the paging space) or from the "file memory" (the file cache). When and how much is taken from what can also be tuned, see the "maxperm" and "minperm" parameters in "vmo".

Of course i cannot give you a detailed documentation of the AIX kernel here: what i wrote above are only glimpses and pretty unsorted ones. If you are interested in the details there are two IBM classes (AIX System Administration III: Performance Tuning; AIX Kernel Internals; each 5 days). There are also Redbooks (IBM Redbooks | AIX 5L Practical Performance Tools and Tuning Guide, IBM Redbooks | AIX 5L Performance Tools Handbook, IBM Redbooks | Database Performance Tuning on AIX) available, read them for further details.

I hope this helps.

bakunin
# 6  
Old 02-14-2008
As said above:

"Seems you have nothing to wory about there mate.
As rvegmond said AIX just uses memory like that.
If it isn't paging then there is nothing to worry about, AIX is just using the available physical memory to cache filesystem instead of keep waiting to write it in and out of disk space."

If you give (gave) AIX more memory, it will just cache more to save disk I/O, as long as there is no paging and the memory is fully utilised (which it should be in a well tuned active system) you have nothing to worry about.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Troubleshooting sudden high memory usage

Hi, This morning there was an app that caused a sudden spike in I/O and memory usage in the server. We found the reason for the I/O, however the memory spike was something new, as it had never happened before. I figured out what caused the memory spike, however, how do I investigate why... (6 Replies)
Discussion started by: anaigini45
6 Replies

2. Red Hat

Swap memory usage is high in Linux

Hi , There is one following alert . Message : cdm:Average (2 samples) swap memory usage is now 91%, which is above the warning threshold (90%) Here is my findings. Output of TOP command in Linux server. top - 14:21:44 up 6 days, 4:48, 1 user, load average: 2.55, 2.06,... (3 Replies)
Discussion started by: Maddy123
3 Replies

3. AIX

High Paging when lots of free memory AIX 5.3

I am new to AIX, I have few AIX 5.3 servers and I could see there are significant difference in paging space utilization on servers even though they are running same applications below server is working fine which shows 2-5 % paging usage throuh out the day cpu_scale_memp = 8... (12 Replies)
Discussion started by: bibish
12 Replies

4. Shell Programming and Scripting

help in high memory usage alert script

can any one please help me to shell script high memory usage alert (6 Replies)
Discussion started by: robo
6 Replies

5. AIX

AIX memory usage always high

hi, I want to ask , my AIX 6.1 is always used about 97% memory. Is this normal ? or any command can free up memory like Linux ? thanks. (1 Reply)
Discussion started by: virusxx
1 Replies

6. UNIX for Advanced & Expert Users

Memory usage shown is high

Hello all, I am facing a memory related issue on my linux that is CentOS 4.0. What I see as an output of top command, free command is that memory usage is almost 90% which is quite high without much load on the system. This is continuously showing 90% or so of memory usage with top or free... (2 Replies)
Discussion started by: radiatejava
2 Replies

7. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

8. AIX

Memory usage on AIX

How to check the memory usage on AIX by various processes? (1 Reply)
Discussion started by: aajmani
1 Replies

9. AIX

Memory Usage in AIX

Hi All, I have a question, can you guys please help me by giving your valuable suggestons: I am using AIX 5L, running oracle 7 version. I need to increase the oracle memory to 40 MB more. Currently Oracle occupies 260M. I wanted to know whether I can increase the memory without any problem.... (3 Replies)
Discussion started by: kollam68
3 Replies

10. UNIX for Advanced & Expert Users

Memory Usage in AIX

Hi All, I have a question, can you guys please help me by giving your valuable suggestons: I am using AIX 5L, running oracle 7 version. I need to increase the oracle memory to 40 MB more. Currently Oracle occupies 260M. I wanted to know whether I can increase the memory without any problem.... (1 Reply)
Discussion started by: kollam68
1 Replies
Login or Register to Ask a Question