Re: Node.js Apps with small memory limits; Inaccurate Memory Availability in Containers
Christopher Piraino <cpiraino@...>
Sai,
toggle quoted messageShow quoted text
Running free/top from inside the container is going to report the VM's memory/cpu statistics in which the container is running. The correct stats are located in the appropriate cgroups filesystem, which is where Cloud Foundry pulls stats from when using the CLI. From inside the container it is actually very hard to figure out how much memory the cgroup is using (see this article for more information <http://fabiokung.com/2014/03/13/memory-inside-linux-containers/>). Best, Chris
On Wed, Jul 29, 2015 at 7:55 AM, Mike Dalessio <mdalessio(a)pivotal.io> wrote:
Hi Sai,
|
|