Solved

high cahce memory usage

Posted on 2003-11-11
6
422 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now