Re: Problem with s6-softlimit -c

2016-12-01 Thread Laurent Bercot
Well, there's no output on the console and no logs - after it does its thing it just hangs, doesn't execute the next program. This: s6-softlimit -c 204800 this_binary_desnt_exist also hangs. That's weird. What is the state of the process after it hangs? (S, R, D or something else?) -- Laure

Re: Problem with s6-softlimit -c

2016-11-29 Thread Jan Olszak
Hi :) Well, there's no output on the console and no logs - after it does its thing it just hangs, doesn't execute the next program. This: s6-softlimit -c 204800 this_binary_desnt_exist also hangs. Cheers, Jan On Tue, Nov 29, 2016 at 11:14 AM, Laurent Bercot < ska-supervis...@skarnet.org> wrote:

Re: Problem with s6-softlimit -c

2016-11-29 Thread Laurent Bercot
You seem to have mis-spelled "works". (-: The program has made the system calls that you told it to, and they have succeeded, setting the soft limit that you instructed. Indeed, there's nothing in that strace that points to a dysfunction in s6-softlimit. (But it's an excellent illustration o

Re: Problem with s6-softlimit -c

2016-11-27 Thread Jonathan de Boyne Pollard
Jan Olszak: Command that fails: s6-softlimit -c 1 pwd # strace s6-softlimit -c 204800 pwd ... prlimit64(0, RLIMIT_CORE, NULL, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0 prlimit64(0, RLIMIT_CORE, {rlim_cur=200*1024, rlim_max=RLIM64_INFINITY}, NULL) = 0 You seem to have

Re: Problem with s6-softlimit -c

2016-11-24 Thread Jan Olszak
Ups, sorry. Here it is. On Thu, Nov 24, 2016 at 12:21 AM, Laurent Bercot < ska-supervis...@skarnet.org> wrote: > Strace attached. >> > > Where? ;) > > -- > Laurent > > # strace s6-softlimit -c 204800 pwd execve("/usr/bin/s6-softlimit", ["s6-softlimit", "-c", "204800", "pwd"], [/* 11 vars */])

Re: Problem with s6-softlimit -c

2016-11-23 Thread Laurent Bercot
Strace attached. Where? ;) -- Laurent