Re: [libvirt] Parsing of memory.stat in libvirt

2018-11-13 Thread Peter.Chubb
> "John" == John Ferlan writes: On 11/6/18 3:25 AM, peter.ch...@data61.csiro.au wrote: >> >> Hi Folks, libvirt currently spams the logs with >> >> error : virCgroupGetMemoryStat:2490 : internal error: Cannot parse >> 'memory.stat' cgroup file >> >> whenever someone does ps in a container.

Re: [libvirt] Parsing of memory.stat in libvirt

2018-11-07 Thread John Ferlan
On 11/6/18 3:25 AM, peter.ch...@data61.csiro.au wrote: > > Hi Folks, >libvirt currently spams the logs with > > error : virCgroupGetMemoryStat:2490 : internal error: Cannot parse > 'memory.stat' cgroup file > >whenever someone does ps in a container. > > This is because the parser f

[libvirt] Parsing of memory.stat in libvirt

2018-11-07 Thread Peter.Chubb
Hi Folks, libvirt currently spams the logs with error : virCgroupGetMemoryStat:2490 : internal error: Cannot parse 'memory.stat' cgroup file whenever someone does ps in a container. This is because the parser for memory/stat is incorrect: the `line' variable is never updated, so each ti