[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q: Interesting memory usage stat's



NF>> 1) Why is memory usage so high when it shouldn't be?
NF>> Note: looking at the process that are running (most httpd), they don't
NF>> amount to much more that 30mb.

Actually, in ideal case memory usage should be 100%. Why you need memory
that isn't used? If it isn't used by the processes, OS could use it as
cache memory. However, I think it's very tough to make system that will
get close to 100% memory usage, especially in general case. However, if
the process configuration is static (i.e., same long-lived processes run
again and again doing the same stuff), memory usage could be close to it -
that means Linux is doing great job utilizing your memory. You should
start worrying about memory only if swap usage grows and running processes
start getting swapped - it easily leads to catastrophics thrashing and
loads about 20+, basically meaning the system is dead.

NF>> 2) How can I determine TRUE memory usage?

Well, take "used" number, take out "cached" and "buffers". That should be
close to it.

-- 
frodo@sharat.co.il	\/  There shall be counsels taken
Stanislav Malyshev	/\  Stronger than Morgul-spells
phone +972-3-9316425	/\  		JRRT LotR.
http://sharat.co.il/frodo/	whois:!SM8333







=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il