?
Solved

Linux pagecache problem

Posted on 2005-03-17
5
Medium Priority
?
831 Views
Last Modified: 2012-08-14
Hi:
We have Redhat AS 3.0 Update 3(2.4.21-20.ELsmp) running on a x86 box. After half an hour of use the memory goes 100% and almost no swap is ever used. The free command shows a lot of memory is used for pagecache. I changed the proc/sys/vm/pagecache, add the entry in /etc/sysctl.conf, and did a /etc/sysctl -p, and changed the inactive_clean_percent to 100, but still no change. Does this parameter work?? Is there any other solution for this.. Thanks in advance.
Mitra
0
Comment
Question by:amitra123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 8

Expert Comment

by:marxy
ID: 13566083
I think you should not so change this parameter.
Cache memory will be freed when the system will need it.

For example, I use 2G RAM on my desktop.
And free is 10-15% usually.
Cache memory is used to speed up your system work.

So, don't warry of that :-)
0
 

Author Comment

by:amitra123
ID: 13566253
Thanks for your comment. We have a database running on this server and we do not need to cache any data as database caches it in in its bufferpool. Oracle recommends to change this parameter. The present setting is 1 2 7.

I do not care as long as the database works fine, but it is annoying(Does not feel good when you see 100% of 4 GB ram is used). My question is what this /proc/sys/vm/pagecache is for?? Certainly it has no visible effect.

Thanks for your help.
Mitra
0
 
LVL 8

Accepted Solution

by:
marxy earned 2000 total points
ID: 13567349
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month9 days, 18 hours left to enroll

762 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