Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7575711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:44:49+00:00 2026-05-30T16:44:49+00:00

I got a linux hardware server having 16GB of physical memory and running some

  • 0

I got a linux hardware server having 16GB of physical memory and running some applications. This server is up and running for around 365 days till now and I am observing the “free -m” showing memory is running low.

             total       used       free     shared    buffers     cached
Mem:         14966      13451       1515          0        234        237
-/+ buffers/cache:      12979       1987
Swap:         4094        367       3727

I understand 1987 is the actual free memory in the system which less than 14%. If I add up the %MEM section in “ps -A v” output or from “top” it does not add up to 100%.

I need to understand why the memory has gone so low?

Update (29/Feb/2012):
Let me split this problem into two parts:
1) System having less free memory.
2) Identifying where the used memory has gone.

For 1), I understand; if system is running low on free memory we may see gradual degradation in performance. At some point paging would give additional free memory to the system resulting in restoration in system’s performance. Correct me if I am wrong on this.

For 2), Now this is what I want to understand where has the used memory vanished. If I sum up the %MEM in output of “ps -A v” or “top -n 1 -b” it comes to no more than 50%. So where to account for the remaining 40% of untraceable memory. We have our own kernel modules in the server. If these modules leak memory would they get accounted. Is it possible to know amount of leakage in kernel modules.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T16:44:50+00:00Added an answer on May 30, 2026 at 4:44 pm

    I was able to identify and solve my issue. But it was not without the help of the information present at http://linux-mm.org/Low_On_Memory.

    The memory at slabinfo for dentry was around 5GB. After issuing “sync” command the dirty pages got synced to hard-drive and the command “echo 3 > /proc/sys/vm/drop_caches” freed up some more memory by dropping some more caches.

    In addition to the literature present in the above website, the memory is reclaimed by the kernel at a rate dependent on vfs_cache_pressure (/proc/sys/vm/vfs_cache_pressure).

    Thanks to all for your help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a bunch of servers running this Linux app. I'd like for them
I've got a software running on Linux that is leaking memory. It's an embedded
I've got some Linux drivers for some canbus hardware direct from the manufacturer, but
This is my Output using system.out.println which i got in Linux Server . The
I've got a few dozen Linux machines running cron and I'd like to put
I've got some software I created deployed on a Linux VM. I'd like to
I am compiling my first Linux Kernel Module, when i got this error: from
I've got a plugin system in my project (running on linux), and part of
I've got this code to port from windows to linux. template<class T, int Size>
all. I've got two domains set up under apache on a single server (Linux).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.