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

[systemd-devel] Have custom agetty behaviour even after upgadres

2012-05-10 Thread Seblu
Hello, on my archlinux test computer i would have first console not cleaned and other spawned statically (crazy idea isn't it). So I've turned NAutoVTs to 1 in /etc/systemd/systemd-logind.conf. I've copied /usr/lib/systemd/system/getty@.service into /etc/systemd/system/ and patched as following:

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

Re: [systemd-devel] Ubuntu, Upstart, and systemd

2012-05-10 Thread Stef Bon
> Such kind of infrastructure already exists - see os-autoinst [1]. Atm > it's used primary by openQA [2] of openSUSE project to test our Factory, > but main page claims a support for other distributions as well. > Hi, You go into the numbner oi tests available, and how to improve , maybe Shuttle

Re: [systemd-devel] Ubuntu, Upstart, and systemd

2012-05-10 Thread Michal Vyskocil
On Wed, Apr 25, 2012 at 10:26:56AM +0200, Lennart Poettering wrote: > On Tue, 24.04.12 21:47, David Strauss (da...@davidstrauss.net) wrote: > > > https://plus.google.com/115547683951727699051/posts/JCDko6rkic5 > > systemd: 20 test tools, Upstart: 17 test tools. > > That said, we always can use

[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