Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Linux pagecache problem

Posted on 2005-03-17
Medium Priority
Last Modified: 2012-08-14
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.
Question by:amitra123
  • 2

Expert Comment

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 :-)

Author Comment

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.

Accepted Solution

marxy earned 2000 total points
ID: 13567349

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month15 days, 1 hour left to enroll

577 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