LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-05-2012, 10:11 AM   #1
malamana
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Rep: Reputation: Disabled
Question Cache Memory Use on Diskless Server


I am working with diskless servers and monitoring 'free' output. I have observerd several application crashes when the cache memory size becomes equal to the available memory size. I know cache is normally used for holding data for disk i/o - and that is all the literature names. In a diskless system, what else is it used for?
The system does run NFS but (supposedly) that is not in constant use. I need to determine how much memory has to be held in reserve and not allocated directly to the applications - they hog as much as they can get. There is no swap (no drives). Apparently, in this arrangement, forced memory recovery from cache is detrimental to the applications. Buffer memory is zero.

Last edited by malamana; 03-05-2012 at 10:13 AM.
 
Old 03-06-2012, 05:30 AM   #2
hi2arun
Member
 
Registered: Apr 2010
Distribution: Fedora
Posts: 109
Blog Entries: 4

Rep: Reputation: 34
Set your vfs_cache_pressure (/proc/sys/vm/vfs_cache_pressure) high so that RAM caching doesn't happen. Also change 'swappiness' value, if you have more RAM.

Have a script to set '3' to /proc/sys/vm/drop_cache, so that if any cache will be cleared giving room for applications.
 
1 members found this post helpful.
Old 04-03-2012, 02:19 PM   #3
malamana
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks hi2arun.

I am still interested in what could be using the avilable memory though. Any way to tell?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to find that we have problem with the cache memory when I have 2 cache and 3 proc rpittala Linux - Newbie 1 02-02-2012 03:46 PM
Server consuming cache memory vikas027 Linux - Server 10 03-06-2009 01:28 AM
how to set memory cache limit for nfs server libin88 Linux - Server 1 10-24-2008 08:23 AM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 03:32 PM
How do I clear the memory cache on my linux server? robgo777 Linux - Software 2 01-09-2005 01:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration