Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, I have a server that have 8 GB ram and there is the issue that the cache is not getting cleared automatically. This is causing load issues in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    13

    Cache not getting cleared


    Hi all,

    I have a server that have 8 GB ram and there is the issue that the cache is not getting cleared automatically. This is causing load issues in the server. When I remove it manually, cache is cleared.

    Any ideas are appreciated.

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Cached memory should be available on demand. The kernel may decide in some cases to swap unused pages rather than reclaim cache, though, but you can modify that behavior by adjusting the "swappiness" value.

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    13
    Quote Originally Posted by reed9 View Post
    Cached memory should be available on demand. The kernel may decide in some cases to swap unused pages rather than reclaim cache, though, but you can modify that behavior by adjusting the swappiness value.
    thnx for the reply.... I will try this out and will let you know the results....

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •