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?) --

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

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

Problem with s6-softlimit -c

2016-11-23 Thread Jan Olszak
Hi there! I'm solving a core dump issue inside a namespace but I got a problem with s6-softlimit. Command that fails: s6-softlimit -c 1 pwd s6 version: v2.2.3.1 Linux: Kernel 3.4.11. Strace attached. Thanks, Jan