Visit Our UNIX and Linux User Community


MemFree from /proc/meminfo


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting MemFree from /proc/meminfo
# 1  
Old 09-21-2016
MemFree from /proc/meminfo

From the following /proc/meminfo output only ~2GB is free out of total 250GB, but Cached is 194630300 kB. My customer is concerned over the very little memory showing as free. Kindly shed some light if the free memory available in this situation is some thing we need to worry or can we take it as expected behavior of Linux kernel - as most of them are cached.
Linux 2.6.39-400.277.1.el6uek.x86_64
Code:
MemTotal:       264082720 kB
MemFree:         2114036 kB
Buffers:          417188 kB
Cached:         194630300 kB
SwapCached:          172 kB
Active:         12577096 kB
Inactive:       189334136 kB
Active(anon):    6788124 kB
Inactive(anon):   221452 kB
Active(file):    5788972 kB
Inactive(file): 189112684 kB
Unevictable:      494788 kB
Mlocked:          494836 kB
SwapTotal:      25165820 kB
SwapFree:       25160384 kB
Dirty:              2008 kB
Writeback:           108 kB
AnonPages:       7402208 kB
Mapped:           260780 kB
Shmem:              1012 kB
Slab:            1532520 kB
SReclaimable:    1201976 kB
SUnreclaim:       330544 kB
KernelStack:       19200 kB
PageTables:       385236 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    130992780 kB
Committed_AS:   12763688 kB
VmallocTotal:   34359738367 kB
VmallocUsed:     1178180 kB
VmallocChunk:   34224213544 kB
HardwareCorrupted:     0 kB
HugePages_Total:   25600
HugePages_Free:    14820
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:        8192 kB
DirectMap2M:     2023424 kB
DirectMap1G:    266338304 kB

# 2  
Old 09-21-2016
Good news: This is entirely expected and there is no cause for worry at all.

The kernel will use any idle memory for disk cache but gives it up easily at need; you can consider it as "free" memory. It quickly tops the charts on any lightly-loaded Linux system. This just means the memory isn't being used for much else.

"Free" is a somewhat misleading title and just designates wasted memory which is being used for absolutely nothing whatsoever, not even disk cache.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 09-21-2016
Thanks Corona688 for the information.
This User Gave Thanks to michaelrozar17 For This Post:

Previous Thread | Next Thread
Test Your Knowledge in Computers #734
Difficulty: Medium
Commodore BASIC was also known as PET BASIC.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Awk and meminfo

I'm in the process of adding various data to my rrdtool setup, and one of the things i want ot monitor is the meminfo stuff. I have it running locally very well with the following: /usr/bin/rrdupdate /etc/rrdtool/192.168.43.254.mem.rrd --template \ used:free:buff:cached:swap N:`awk ' \ ... (2 Replies)
Discussion started by: Nunners
2 Replies

2. UNIX for Dummies Questions & Answers

Regarding /proc

If you are adding the kernel module without any module parameter passing, it should print out following information to info1 file so that user can make read access to info1 file (via, for example, cat /proc/info1): Processor type Kernel version Total number of the processes currently... (1 Reply)
Discussion started by: shekhar.huded
1 Replies

3. Filesystems, Disks and Memory

Buffer Cache Stats from /proc/meminfo

Hi, I am trying to understand the role of buffer cache in block I/O. I am monitoring /proc/meminfo, my question is does the value of 0 for 'buffers', mean that any subsequent disk read issued by a process, would get the data physically from the disk, and not an allocated buffer for the block? ... (1 Reply)
Discussion started by: jake24
1 Replies

4. UNIX for Dummies Questions & Answers

_/proc/stat vs /proc/uptime

Hi, I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies

5. Programming

Need help ! SQL and Proc *C

:) hi all ! Please help me When I select data from oracle with proc * C prog. I count the number of rows For example the total rows is 1000000 but the number of result return is a limit number 5000 for ex So How can I know this limit (5 Replies)
Discussion started by: iwbasts
5 Replies

6. Linux

Meminfo

This server is running slowly This is our mail server What is 'cached' in /proc/meminfo ? Can I minimize the usage of cached ? (1 Reply)
Discussion started by: dipanrc
1 Replies

7. UNIX for Dummies Questions & Answers

proc

Hi, What are the various way's to fix /proc folder in redhat linux 7.2 and how to verify /proc folder is proper or croupted? Thank in advance Bache Gowda (7 Replies)
Discussion started by: bache_gowda
7 Replies

8. UNIX for Advanced & Expert Users

/proc

/proc is filing up my root filesystem. Can you delete any of the4 ID numbers out of /proc. Please help me. (3 Replies)
Discussion started by: aojmoj
3 Replies

9. UNIX for Dummies Questions & Answers

about /proc

hi, we all know /proc is about the information of active process, I have just read an artical which said you can use /proc/cpuinfo, /proc/net./proc/meminfo etc. to know about some hardware information .But I want to know how to use with command line? (1 Reply)
Discussion started by: fuqiang1976
1 Replies

10. UNIX for Dummies Questions & Answers

/proc 100%

The df/bdf command shows /proc 100% full all the time. What does /proc contain? and why 100% all the time even on a new setup. (1 Reply)
Discussion started by: asutoshch
1 Replies

Featured Tech Videos