AIX memory issue


 
Thread Tools Search this Thread
Operating Systems AIX AIX memory issue
# 1  
Old 05-02-2012
AIX memory issue

Currently server have load while there is no heavy things running, just oracle database/ application server oracle. I don't understand why server have heavy load, 22GB is under buffer, how to clean buffer/memory in AIX

Code:
load averages:  9.42,  9.43,  9.68;  05:25:08
141 processes: 125 idle, 16 running
CPU states: 98.3% idle,  0.9% user,  0.6% kernel,  0.0% wait
Memory: 30G total, 22G buf, 67M free
Swap: 18G total, 18G free

Moderator's Comments:
Mod Comment Please use [code][/code] tags instead of [quote][/quote] tags for code and samples

Last edited by Scrutinizer; 05-02-2012 at 07:49 AM.. Reason: code tags
# 2  
Old 05-02-2012
I can't see what the load is from that either, just that it's there. Try running top to see what's eating so much CPU, it could be intermittent. Or it could be lots of I/O.

I suspect buf is okay since you're not using any swap -- why shouldn't an OS use free memory as buffer, as long as it's willing to give it up when needed?
# 3  
Old 05-02-2012
Quote:
Originally Posted by Corona688
I can't see what the load is from that either, just that it's there. Try running top to see what's eating so much CPU, it could be intermittent. Or it could be lots of I/O.

I suspect buf is okay since you're not using any swap -- why shouldn't an OS use free memory as buffer, as long as it's willing to give it up when needed?
Dear Sir,

I have few questions,

1. i already paste the output of top in my thread.
2. how to check on AIX that i/o is taking load
3. how to clean buffer, is there any command that can fix buffer and memory.

Many thanks.
# 4  
Old 05-02-2012
Buffer is to speed up things such as I/O. I don't think you need to worry about it. AIX manages Oracle loads very well. Are you experiencing any performance hit?
# 5  
Old 05-02-2012
Quote:
Originally Posted by learnbash
1. i already paste the output of top in my thread.
You only posted statistics, not anything relevant, i.e. the list of processes below it. We can see high load, but not which.

Quote:
2. how to check on AIX that i/o is taking load
I'm not sure how to measure I/O on AIX, sorry.

Quote:
3. how to clean buffer, is there any command that can fix buffer and memory.
Please consider what I said carefully. If your system was critically low on memory, wouldn't it be using swap? But it isn't. You've used no swap at all.

I'm not intimately familiar with AIX memory management, but we get a few posters a month panicking when Linux shows "0% free". Some of them also notice that 90% is in cache instead, and reboot their systems daily to "flush" it. But cache is as good as free -- the OS won't hoard it, it gives it away at need -- so their systems were perfectly fine all along, and there was nothing to panic about.

So I think 'buf' is as good as 'free', here. 22 gigabytes of good-as-free memory that your system can use at-will, but gets borrowed for cache when otherwise idle. Why not? It's wasted when sitting around doing nothing...
# 6  
Old 05-02-2012
Please, post the output of vmstat -v.

You can view the I/O and the toll it takes on the machine with several tools which show different angles of the issue.

a) basics

Start with a concise description of your system: OS level, patch level, and the kernel parameters you use. AIX's memory management changed over versions and it is not clear in which direction to search for problems unless we have this information.

Code:
oslevel -g
vmo -o
schedo -o
ioo -i


b) even more basics

What is your system doing and how. OK, you said "Oracle DB", but: which version, are you using RAC? ASM? GPFS? Where are the filesystems from? (SAN? NAS? NFS? disks? rotating pancakes?) What else do we need to know to investigate? I might not have asked a complete questionaire but by now you should have gotten the gist of it.


c) collect data

Find out about the status of the asynchronous I/O (depending on OS level this is switched on - with different parameters - or not).

Post the output of (always as root):

Code:
vmstat 1
iostat 5 | grep -v ' 0.0'
svmon -G
vmstat -v

In case of the last command: issue it, then wait for 1 hour and issue it again. Post both outputs. The reason is: the "# of I/O with no fbuf" could be significant. Still, it is not the absolute value (which could come from a singular system state) that counts, but if it is relatively constant or climbing.

You might want to read the following post for more explanations about tracing errors:

https://www.unix.com/302363436-post8.html

I hope this helps.

bakunin
# 7  
Old 05-02-2012
Corona is right. Memory management concept is almost similar in base level across the OSes.

I would not worry about high cache/buffer usage as long as I am not swapping a lot.

iostat and sar would provide very good information about I/O performance on AIX in a very similar way as Linux, Solaris, etc.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Out of memory issue in perl

I am getting a out of memory issue while executing the perl program. Per version : /opt/acc_perl/lib/site_perl/5.14.2 Read in 54973 total records Read in 54973 table records from table. Out of memory! so the job get failed due to out of memory. need to get rid of the out of memory... (3 Replies)
Discussion started by: ramkumar15
3 Replies

2. Linux

Swap memory issue

Hi, In our production box i can see the Swap space using the below command free total used free shared buffers cached Mem: 65963232 41041084 24922148 0 877160 35936292 -/+ buffers/cache: 4227632 61735600 Swap: 4192880 ... (6 Replies)
Discussion started by: ratheeshjulk
6 Replies

3. Red Hat

Memory Issue

I could not find what is consuming the memory, generated DSET reports and NO hardware wise memory issue. 64 GB RAM on a server yet all I could see is a very limited memory available. I am not sure if I am reading this correct or not. I have used free -t -m and cat /proc/meminfo (results below)... (3 Replies)
Discussion started by: rsheikh01
3 Replies

4. AIX

Memory issue

I have a server with 300Gb allocated to it. Some times I observed in topas Comp% 73 and Non comp 35% and client is also 35% and my paging is showing 92%. If my physical memory utilized only 70% then why paging is so high. And what is relation between Comp, noncomp and client? If the memory... (1 Reply)
Discussion started by: powerAIX
1 Replies

5. SuSE

Memory utilization issue

I have parallels container running on Suse. From top command, I am not able to see, what is eating up so big amount of memory. top - 07:44:24 up 172 days, 18:52, 1 user, load average: 0.01, 0.02, 0.00 Tasks: 44 total, 1 running, 43 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, ... (1 Reply)
Discussion started by: solaris_1977
1 Replies

6. AIX

Memory consumption issue in AIX box

Hi, monitor memory usage on AIX machine on any day of the week from 3:00 PM ET to 5:00 PM ET - Povide min and max memory consumption. Determine if all of the available memory is visible to the operating system. If it is not, determine the amount of memory which may be allocated to the... (3 Replies)
Discussion started by: Rookie_newbie
3 Replies

7. Solaris

Locked memory issue

One of our project has exceeded its assigned max-memory-locked by 3 times .. The said project is using around 9 gigs as described by rss parameter in prstat -J .. and the max-project-memory parameter has been defined as 3gigs .. is it normal or we are monitoring the project memory usage in wrong... (2 Replies)
Discussion started by: fugitive
2 Replies

8. AIX

Shared memory issue

Hi friends.. Help to solve this issue... Is there any parameter setting to control or limit the size of the shared memory a process can attach for the below specified environment? The man pages says it can attach upto segments of size 2GB. But when our process (which also connects to... (0 Replies)
Discussion started by: sdspawankumar
0 Replies

9. Linux

Memory issue while diff !!!

Hi All Any idea? why am I having this memory issue? perforce@ixca-pforce-bak:/home/p4-demo-root$ diff checkpoint_offline ../p4-demo-root2/checkpoint.1150 diff: memory exhausted Thanks a lot C Saha (0 Replies)
Discussion started by: csaha
0 Replies

10. Windows & DOS: Issues & Discussions

Memory Issue

Hi There, I have upgraded the DELL poweredge 2600 server memory from 2GB to 4GB. However, the memory only showed at 2GB of utilization. How to make sure that the server is full utilize of 4GB of memory. Is there the Virtual memory need to be reconfigure as this server is run on windows 2000 and... (2 Replies)
Discussion started by: vestro
2 Replies
Login or Register to Ask a Question