[systemd-devel] systemd-cgls - Memory overflow

Michal Schmidt mschmidt at redhat.com
Thu May 10 13:33:10 PDT 2012


On 05/10/2012 02:45 PM, Sven Anders wrote:
> If I execute the "systemd-cgls" command, I see the tree but without
> the command lines of the executables. I only see "n/a".

> open("/proc/300/cmdline", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 7
> mmap2(NULL, 1075859456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cann
> ot allocate memory)

Do you have the COLUMNS environment variable set to some interesting 
value? Does it work if you set it to something sane?:
COLUMNS=80 systemd-cgls

Michal


More information about the systemd-devel mailing list