- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- too much buffer chache on red hat linux
Operating System - Linux
1819801
Members
3067
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2004 03:03 AM
тАО08-11-2004 03:03 AM
Hi, i need ur help!
I have installed red hat A.S. 3.0 on HP blade servers BL40p and HP Blade SErvers BL20P. that servers have 8 GB RAM but every time i have only 4 MB free, all memory is in Buffer Cache. Oracle has problems to work fine. We want to reduce the buffer cache, how can we do that? on redhat A.S. 7.1 we upgrade the kernel using patches. how can i do that on RH A.S. 3.0 plsa helpme.
I attach free -m output.
total used free shared buffers cached
Mem: 7810 7769 41 0 51 4632
-/+ buffers/cache: 3085 4725
Swap: 16001 214 15786
I have installed red hat A.S. 3.0 on HP blade servers BL40p and HP Blade SErvers BL20P. that servers have 8 GB RAM but every time i have only 4 MB free, all memory is in Buffer Cache. Oracle has problems to work fine. We want to reduce the buffer cache, how can we do that? on redhat A.S. 7.1 we upgrade the kernel using patches. how can i do that on RH A.S. 3.0 plsa helpme.
I attach free -m output.
total used free shared buffers cached
Mem: 7810 7769 41 0 51 4632
-/+ buffers/cache: 3085 4725
Swap: 16001 214 15786
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2004 04:04 AM
тАО08-11-2004 04:04 AM
Solution
The buffer chache can be tuned using the below parameter ( /proc/sys/vm/buffermem )
-- default value --
vm.buffermem = 2 10 60
--
The three values in this file correspond to the values in
the struct buffer_mem. It controls how much memory should
be used for buffer memory. The percentage is calculated
as a percentage of total system memory.
The values are:
min_percent -- this is the minimum percentage of memory that should be spent on buffer memory
borrow_percent -- UNUSED in AS 2.1 and RHEL3
max_percent -- UNUSED in AS 2.1 and RHEL3
-- default value --
vm.buffermem = 2 10 60
--
The three values in this file correspond to the values in
the struct buffer_mem. It controls how much memory should
be used for buffer memory. The percentage is calculated
as a percentage of total system memory.
The values are:
min_percent -- this is the minimum percentage of memory that should be spent on buffer memory
borrow_percent -- UNUSED in AS 2.1 and RHEL3
max_percent -- UNUSED in AS 2.1 and RHEL3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2004 04:49 AM
тАО08-11-2004 04:49 AM
Re: too much buffer chache on red hat linux
thanks
i was looking for /proc/sys/vm/buffcache but is missing. I just have this files
-rw-r--r-- 1 root root 0 Aug 11 10:57 bdflush
-rw-r--r-- 1 root root 0 Aug 11 10:57 dcache_priority
-rw-r--r-- 1 root root 0 Aug 11 10:57 hugetlb_pool
-rw-r--r-- 1 root root 0 Aug 11 10:57 kswapd
-rw-r--r-- 1 root root 0 Aug 11 10:57 max_map_count
-rw-r--r-- 1 root root 0 Aug 11 10:57 max-readahead
-rw-r--r-- 1 root root 0 Aug 11 10:57 min-readahead
-rw-r--r-- 1 root root 0 Aug 11 10:57 overcommit_memory
-rw-r--r-- 1 root root 0 Aug 11 10:57 overcommit_ratio
-rw-r--r-- 1 root root 0 Aug 11 10:57 pagecache
-rw-r--r-- 1 root root 0 Aug 11 10:57 page-cluster
-rw-r--r-- 1 root root 0 Aug 11 10:57 pagetable_cache
which can i use? how can i change the value?
thanks for ur help
i was looking for /proc/sys/vm/buffcache but is missing. I just have this files
-rw-r--r-- 1 root root 0 Aug 11 10:57 bdflush
-rw-r--r-- 1 root root 0 Aug 11 10:57 dcache_priority
-rw-r--r-- 1 root root 0 Aug 11 10:57 hugetlb_pool
-rw-r--r-- 1 root root 0 Aug 11 10:57 kswapd
-rw-r--r-- 1 root root 0 Aug 11 10:57 max_map_count
-rw-r--r-- 1 root root 0 Aug 11 10:57 max-readahead
-rw-r--r-- 1 root root 0 Aug 11 10:57 min-readahead
-rw-r--r-- 1 root root 0 Aug 11 10:57 overcommit_memory
-rw-r--r-- 1 root root 0 Aug 11 10:57 overcommit_ratio
-rw-r--r-- 1 root root 0 Aug 11 10:57 pagecache
-rw-r--r-- 1 root root 0 Aug 11 10:57 page-cluster
-rw-r--r-- 1 root root 0 Aug 11 10:57 pagetable_cache
which can i use? how can i change the value?
thanks for ur help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2004 07:34 AM
тАО09-30-2004 07:34 AM
Re: too much buffer chache on red hat linux
Based on your file listing, you must be using Advanced Server 3.0, which doesn't use the same file in /proc. The file /proc/sys/vm/pagecache is the file you want to check out. It has three values: a b c, where "a" is the minimum percentage of RAM to use in the cache, "b" is the percentage to use initially, and "c" is the maximum percentage to use. You can examine current settings by entering "cat /proc/sys/vm/pagecache".
If you want to set these more conservatively, you can do as follows:
echo "1 10 50" > /proc/sys/vm/pagecache
That lets you make immediate changes to the kernel that you can test against your applications.
Once you're happy with a set of values, set them in /etc/sysctl.conf with a line similar to the following:
vm.pagecache = 1 10 50
Hope that helps!
If you want to set these more conservatively, you can do as follows:
echo "1 10 50" > /proc/sys/vm/pagecache
That lets you make immediate changes to the kernel that you can test against your applications.
Once you're happy with a set of values, set them in /etc/sysctl.conf with a line similar to the following:
vm.pagecache = 1 10 50
Hope that helps!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP