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
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:
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
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
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 */])
Strace attached.
Where? ;)
--
Laurent