LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-29-2011, 07:17 AM   #1
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 522

Rep: Reputation: 31
Memory utilization


Hello,

I have two server running oracle EBS, there is some changes either in application or OS level.
The problem is from past two days one of the server is not utilizing memory as cache, as you knows that linux by default cache process in memory.

whereas the DB server is using cache memory.

Code:
DB Server
# free -m
             total       used       free     shared    buffers     cached
Mem:         31871      31840         30          0        124      26223
-/+ buffers/cache:       5493      26378
Swap:        10239        117      10122




Oracle Application Server
             total       used       free     shared    buffers     cached
Mem:         31871       8278      23592          0        523       2570
-/+ buffers/cache:       5185      26685
Swap:        10239          0      10239



Two days before the Application server was using memory, and there was no free memory, but right now its most of memory is free.

Any idea to verify the settings on OS level
 
Old 03-29-2011, 11:56 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Your DB Server is sad: both because you have relatively little free memory at the moment, and because you've exceeded RAM and used swap recently.

Your Application server is much happier: it has plenty of free memory at the moment, and it's never hit swap.

If this is typical for your system, you definitely want to consider getting more RAM for your DB Server. Perhaps even moving it to a 64-bit CPU, if you haven't already.

"Cached" memory is more or less irrelevant here. The DB Server happens to have 10 times more cache than your Application server at the moment - but Linux will automatically de-allocate the cache if it needs more RAM (which, based on your statistics, it probably will).

Moral: you don't want to tune system parameters. You want to purchase more RAM!
 
Old 03-30-2011, 02:09 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,133

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Can't agree with that.
The DB server is almost all cache - as designed. Probably including Oracle SGA. Small swap usage is irrelevant unless active - Linux will "park" long term unused pages in swap intermittently.

The change in the App server is probably application related - AFAIK you have no control over cache allocation (other than swapiness). Check your Oracle definitions - maybe local updates have been lost.
 
Old 03-30-2011, 10:15 AM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
syg00 -
Quote:
The DB server is almost all cache - as designed. Probably including Oracle SGA
Absolutely correct
Quote:
AFAIK you have no control over cache allocation
Also correct
Quote:
"Cached" memory is more or less irrelevant here...
Moral: you don't want to tune system parameters.
This is my main point. If it's a choice between twiddling with "magic system parameters" and buying more RAM - the answer is "get more RAM". In fact, the answer is even "upgrade your CPU to 64 bit, if you have to!"
Quote:
Check your Oracle definitions
Also excellent advice
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory utilization in RHEL -5.6 manglesh.vyas Linux - Enterprise 1 03-14-2011 07:18 AM
Memory Utilization manickaraja Solaris / OpenSolaris 4 03-31-2010 06:17 PM
Memory utilization is 99% arunabh_biswas Red Hat 3 10-08-2009 11:00 AM
High memory utilization dav7500 Linux - General 7 03-05-2004 05:07 PM
Memory Utilization Question toddclark Linux - General 1 11-04-2000 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration