Meminfo


 
Thread Tools Search this Thread
Operating Systems Linux Meminfo
# 1  
Old 12-02-2005
Meminfo

This server is running slowly

This is our mail server

What is 'cached' in /proc/meminfo ?

Can I minimize the usage of cached ?
Meminfo-apple-meminfojpg
# 2  
Old 12-02-2005
Cache is used by the operating system to store file caches and the like, so it doesn't have to reload a frequently-used file from the hard drive over and over. But "Cache" is effectively free memory. The OS doesn't hold onto it -- if something else needs memory, cache gets thrown out and the memory used for something else. So your server is humming away at 1.5GB memory free at the moment.

That 190MB of swap, though, that is something to worry about. It only eats into swap space when it runs out of real memory; at some point in the past, it must have been at least 190 megabytes in the hole memory-wise. It could have been more -- that 190 megabytes is just the memory that's still in swap, memory in swap usually stays there until something wants it back. And when a computer is eating into it's swap space, things move very slowly.

Is there any way you could log memory and swap usage over a period of time? Something's consuming huge amounts of memory, I would guess, but you can't tell the culprit from a meminfo output.
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

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... (2 Replies)
Discussion started by: michaelrozar17
2 Replies

2. 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

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
Login or Register to Ask a Question