Re: [systemd-devel] systemd-cgls - Memory overflow

2012-05-13 Thread Kay Sievers
On Thu, May 10, 2012 at 2:45 PM, Sven Anders wrote: > I'm experiencing a problem with systemd-cgls while testing systemd. > > I run systemd for tests on a small KVM VM with ~700MB RAM and no swap. > > If I execute the "systemd-cgls" command, I see the tree but without > the command lines of the ex

Re: [systemd-devel] systemd-cgls - Memory overflow

2012-05-10 Thread Sven Anders
Am 10.05.2012 14:45, schrieb Sven Anders: > Hello! > > I'm experiencing a problem with systemd-cgls while testing systemd. > > I run systemd for tests on a small KVM VM with ~700MB RAM and no swap. > > If I execute the "systemd-cgls" command, I see the tree but without > the command lines of the

Re: [systemd-devel] systemd-cgls - Memory overflow

2012-05-10 Thread Michal Schmidt
On 05/10/2012 11:30 PM, Sven Anders wrote: What I find curious is, that it reads the correct command line and then opens the /proc file again, but this time it fails. What happened to the first read? The first read is from is_kernel_thread(). The second read is from show_pid_array() -> get_pro

Re: [systemd-devel] systemd-cgls - Memory overflow

2012-05-10 Thread Sven Anders
Am 10.05.2012 22:33, schrieb Michal Schmidt: > 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(NU

Re: [systemd-devel] systemd-cgls - Memory overflow

2012-05-10 Thread Michal Schmidt
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_ANO

[systemd-devel] systemd-cgls - Memory overflow

2012-05-10 Thread Sven Anders
Hello! I'm experiencing a problem with systemd-cgls while testing systemd. I run systemd for tests on a small KVM VM with ~700MB RAM and no swap. If I execute the "systemd-cgls" command, I see the tree but without the command lines of the executables. I only see "n/a". Example: └ system ├ 1