Solved

high cahce memory usage

Posted on 2003-11-11
6
425 Views
Last Modified: 2013-12-16
Hi all.,

i have a issue in manging cahce memory utilisation on my redhat linux 8.0 .the server have the following software installed in it
apache 2.0.47
tomcat 4.1.27
mod_jk2 connector(ajp13)
mysql 4.0.13
kernel 2.4.20-20.8smp

server hardware

dual xeon processor /2 gb ram / 72 GB SCSI HDD
after the fresh reboot of the system free memory will 1.7 gb buffer usage 45mb, cache 80mb
and other systm process using the remaining memory. but if we running the server for two to three days , the cache memory usage will be around 1.6 gb , remaing is occupied by the java,apache, mysql .now the server showing only the 12 mb free space.

i dont know why the cahce memory usage is very high, and i know that , after certain period of system run , it should be freed by the OS.is there any problem in linux kernel, any measures to be taken to control over the cahe memory usgae. Or is there any tunning to be done in the server.


please give reply to the following mail ID: ralagar_raja@hotmail.com
0
Comment
Question by:alagarraja
  • 2
6 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 9722152
It doesn't sound to me like anything is wrong. The kernel will tend to allocate/deallocate cache based on the amount of free memory and the demands being placed on memory. For performance the kernel will try to use as much cache as possible. So it will allocate most of the free memory to cache. When other applications need memory some of the cache will be deallocated.
0
 

Assisted Solution

by:dandanio
dandanio earned 250 total points
ID: 9722832
0
 

Author Comment

by:alagarraja
ID: 9891069
hi .,

thanks for your response. i read some documents also .i understood the memory handling of linux OS.

thanks.
0
 

Author Comment

by:alagarraja
ID: 11315594
Hi.

Please close this post .

Regards.,
Raja
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question