bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exec3.sub never finishes with huge argmax


From: Joel Ebel
Subject: Re: exec3.sub never finishes with huge argmax
Date: Tue, 17 Jun 2025 11:30:32 -0400

On Tue, Jun 17, 2025 at 11:14 AM Chet Ramey <chet.ramey@case.edu> wrote:

> On 6/17/25 11:03 AM, Joel Ebel wrote:
>
> > After some digging, we found that in our environment there's no upper
> bound
> > on RLIMIT_STACK, so it's set to the maximum allowed value of
> > RLIM64_INFINITY or 2^64-1
> > Then make sets the stack limit to the maximum value, again
> RLIM64_INFINITY.
> > glibc calculates ARG_MAX by dividing the current value of RLIMIT_STACK
> by
> > 4, which gives us the 2^62-1 we're seeing.
>
> So a suitable `ulimit -s' would do the trick?
>

Yes, I believe it would. Where are you proposing that it should be run?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]