RAM always used 100 %

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat RAM always used 100 %
# 1  
Old 08-12-2012
RAM always used 100 %

Dear All,

One of my Linux Server which is a Production server. I see always RAM is used fully. Eventhough Swap space is available , the system is extremely slow.

I have even cleared the cache memory , but still not RAM is reduced.

Kindly let me know if there are any solutions to bring down the RAM used.

Code:
[root@sun1 ~]# free -g
             total       used       free     shared    buffers     cached
Mem:            11         11          0          0          0          0
-/+ buffers/cache:         11          0
Swap:           18          2         16

Thanks and Regards
Rj

Last edited by methyl; 08-12-2012 at 08:19 AM.. Reason: Pleae use code tags
# 2  
Old 08-12-2012
Please post some basic information:

1) What Operating System and version are running?

2) What is the specification of the hardware:
Make, model, RAM fitted, number of CPUs?

3) How much disc space is allocated to swap?
... and how much is used?

4) Have you changed any kernel parameters? If so, what were the old and new values and the reasoning behind the change?

5) What database software and version are you running?
Have you changed any database startup parameters? If so, what were the old and new values?
(A common problem is misunderstanding the units of database parameters and accidentally allocating more memory than you have fitted).

6) How many clients? ... and how do they connect to this server?
# 3  
Old 08-12-2012
1. RHEL release 5.5 (Tikanga)

2.Linux sun1 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

3. 8 Processors and each with 4 core processors,

4. 18 G is allocated to swap and 4 gig is used , 14 gig available.

5. No Kernel parameters changed.

6. Oracle 11 g is installed and other Datawarehousing softwares OBIEE 11g is installed in it.

7. There are no System clients for this Server.. Only Application Server clients are there which are to a maximum 50.

Pl guide me ..

Thanks and Regards
Rj
# 4  
Old 08-12-2012
The Linux kernel is optimized to use as much RAM as possible. This is normal system behavior.

Quote:
4. 18 G is allocated to swap and 4 gig is used , 14 gig available.
4 GB is not much RAM in a modern day system. Our web server uses 32GB. RAM is cheap. Buy more. Swapping to disk is slow. Don't design a server to use swap unless you want performance to slow down.

Get more than 4 GB of RAM, problem solved.....

Code:
Mem:  33011004k total, 28995776k used,  4015228k free,   348328k buffers
Swap: 19530748k total,    14212k used, 19516536k free, 24653588k cached

# 5  
Old 08-12-2012
ya but it doesn't show any cache/buffer there... his system has 11G shown in free. if it is not expected to be using all of this RAM i'd have a look at top to make sure things are as expected. you cannot blame swapping for the slowness yet though. run vmstat 10 and it'll update every 10 seconds showing swaps in/out. paste a few lines of this.

but how did you 'clear the cache' ? having nothing cached will then mean more disk reads for file accesses, which is also going to slow you down. this will give you less RAM swapped out though, but you're really just moving the problem.

overall the easiest solution is adding RAM, unless you find you've improperly configured services, or non-essential ones, wasting your memory.
# 6  
Old 08-12-2012
Quote:
Originally Posted by neutronscott
overall the easiest solution is adding RAM, unless you find you've improperly configured services, or non-essential ones, wasting your memory.
I agree with this. RAM is cheap; cheaper than hours of analysis. Heck, I have 4GB of RAM on my MBA which I only use for web and email; basically. Our basic server is now at 32 GB RAM...... so a running a server with an Oracle DB with only 4 GB of RAM seems "overly economical" to me..... It is cheaper to just put in more RAM than trying to analyze the issue to death... IMHO..
# 7  
Old 08-13-2012
Dear All,

thanks for the information provided by you.

Thanks and Regards
JeganR
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Want to update the RAM

hi, i m working on my ubuntu 12.10 i wanted to update my desktop's RAM. so kindly let me know how i get below details (thru commands in terminal) 1) what is the processor am using currently 2) what is the RAM am using currently 3) max how much i can upgrade my RAM (4 Replies)
Discussion started by: anandpasunoori
4 Replies

2. Solaris

RAM check

is there a way to thoroughly test RAM in Solaris10 (SPARC)? or is boot test good enough? (5 Replies)
Discussion started by: orange47
5 Replies

3. Red Hat

Regarding RAM replacement

Dear All, I have linux Servers where all are having at present 12 Gig RAM. At present my need is to increase the RAM for atleast another 12 G . ie 12G +12 G ===24 Gig RAM. But how does i can find out whether my server will support for 24 GiG RAM or is there any way of finding out how... (4 Replies)
Discussion started by: jegaraman
4 Replies

4. Solaris

expanding RAM

our sparc server has only 1Gb RAM. Since RAM is not very expensive anymore, it seems like a good idea to upgrade it. will it make server (and database on it) faster? I hope it would less 'abuse' hard drive.. (6 Replies)
Discussion started by: orange47
6 Replies

5. Linux

Ram Usage

Hi one of our applications that runs on our Linux server leaks memory resulting in Ram that was used by the program not being released back to the operating system once a file has been processed. the result is over a very short period virtual all the memory has been used. an example currently ... (8 Replies)
Discussion started by: treds
8 Replies

6. Linux

RAM is not being utilized

Hi All, I installed CentOs on my PC (it has 1 GB of RAM). I see that only 200MB of RAM is being utilized on average but its very slow. Please let me know how do I improve the performance. Is there a way to set the RAM utilization/usage on CentOS. Thank you (2 Replies)
Discussion started by: jayfriend
2 Replies

7. Red Hat

red hat Linux 5.0 is detecting 3gb ram but physical ram is 16gb

Hi, On server 64bit Hw Arch , Linux 5.0(32bit) is installed it is showing only 3gb of ram though physical is 16gb can u give me idea why? (4 Replies)
Discussion started by: manoj.solaris
4 Replies

8. UNIX for Dummies Questions & Answers

how to know RAM size

Hi can anyone please help me, how to know RAM specification in unix? (4 Replies)
Discussion started by: palash2k
4 Replies

9. Solaris

Command for RAM

folks, hows everyone? just upgraded my laptop running on solaris 10 by adding some extra RAM. I did notice some improvement (increase in speed) but could not be certain the new RAM has been accepted and all is well (was concerned a bit as i almost broke it while installing :-)) and didnt get any... (4 Replies)
Discussion started by: alikun
4 Replies

10. Solaris

getting available physical RAM

What command should I be using on Solaris 9 to get an accurate representation of the available physical RAM? (4 Replies)
Discussion started by: dangral
4 Replies
Login or Register to Ask a Question