On Wed, 15 Feb 2023 14:54:03 +0100, Jérémy wrote:
> While waiting for the proper fix you describe, I propose to set higher
> constants
> for V8_DEFAULT_STACK_SIZE_KB - especially for arm64.
That sounded good to me when I read it a week ago, but now I'm not so sure.
It seems that the Node ecosystem has known unusual architecture-specific
behaviours here that derive from a lower-level element (V8) in the stack.
Is it wise for us to add another layer of configuration settings that are
Debian-specific and will require future users/developers yet more time to
unpick and understand? Especially when the configuration may -- if set too
high -- introduce as many failures as it solves? (how could we tell?)
Maybe it's rare to propose 'do nothing' as a technical suggestion but I think
it is worth considering here, since we are not the arbiters of Node.
mirabilos gesagt:
> We know the default ulimits for users in Debian, and they are higher
> than the 1 MiB assumed by v8, by quite some factor, so this won’t break
> things which are not currently broken (by that exception). This will do
> for the release I think.
Relaying my understanding of this, so far:
An increase in the V8 stack size should not cause earlier-process-exits for any
processes that previously ran on Debian systems where the
architecture-default-or-greater stack size is configured[1].
In other words: the same-number-or-greater of JavaScript processes should
continue to run on any given Debian system where the configured stack size is
greater-than-or-equal to the architecture's default, after the V8 stack size
limit is increased.
And we expect that it should repair a failing reproducible build test for at
least one Debian package on arm64.
[1] - see limits.conf
Can you test it? I don’t have the bandwidth for that right now…
Jérémy Lal dixit:
>I can build nodejs on amhdal.debian.org if you're not comfortable with that.
The problem with the DSA porterboxen is that you cannot install your own
built packages in the chroot to use them there… unless there’s a
solution not yet known to me?