OpenVZ Forum


Home » General » Support » Why does my total memory used not match all process rss sum?
Why does my total memory used not match all process rss sum? [message #48763] Tue, 20 November 2012 18:09
axelabs is currently offline  axelabs
Messages: 1
Registered: November 2012
Junior Member
This is on a VZ container that is reporting low free memory. I can't figure out what is using it. Free used is not even close to ps rss totals:

# free -m
             total       used       free     shared    buffers     cached
Mem:         32163      31912        250          0         20        551
-/+ buffers/cache:      31341        822
Swap:        34239       9945      24294

# ps -eo pid,rss,comm --sort rss|awk '{SUM=SUM+$2}END{print "Total rss mem used:",SUM/1024,"mb"}'
Total rss mem used: 1472.67 mb


Its not the cache/buffers that are consuming memory. What is it?

The host is running ovzkernel-2.6.18-194.8.1.el5.028stab070.2.
 
Read Message
Previous Topic: Backup for ploop-based containers
Next Topic: question about copying container
Goto Forum:
  


Current Time: Fri Nov 08 20:05:45 GMT 2024

Total time taken to generate the page: 0.03287 seconds