Skip to content

Conversation

@Keno
Copy link
Member

@Keno Keno commented Mar 7, 2020

As noted in #35011, the stress test is likely causing ENOMEM
errors in unrelated processes on FreeBSD as it's causing kernel
resource exhaustion. This fixes that by running that test with
a low FD ulimit (100). Should fix #23143. Closes #35011.

As noted in #35011, the `stress` test is likely causing ENOMEM
errors in unrelated processes on FreeBSD as it's causing kernel
resource exhaustion. This fixes that by running that test with
a low FD ulimit (100). Should fix #23143. Closes #30511.
@Keno Keno merged commit e13d06f into master Mar 8, 2020
@Keno Keno deleted the kf/fdstress branch March 8, 2020 01:43
end
# Run this test with a really small ulimit. If the ulimit is too high,
# we might saturate kernel resources (See #23143)
run(`sh -c "ulimit -n 100; $(Base.shell_escape(Base.julia_cmd())) --startup-file=no $(joinpath(@__DIR__, "stress_fd_exec.jl"))"`)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn’t the whole command (especially the user path) have been inside the shell_escape call?

ravibitsgoa pushed a commit to ravibitsgoa/julia that referenced this pull request Apr 9, 2020
As noted in JuliaLang#35011, the `stress` test is likely causing ENOMEM
errors in unrelated processes on FreeBSD as it's causing kernel
resource exhaustion. This fixes that by running that test with
a low FD ulimit (100). Should fix JuliaLang#23143. Closes JuliaLang#30511.
KristofferC pushed a commit that referenced this pull request Apr 11, 2020
As noted in #35011, the `stress` test is likely causing ENOMEM
errors in unrelated processes on FreeBSD as it's causing kernel
resource exhaustion. This fixes that by running that test with
a low FD ulimit (100). Should fix #23143. Closes #30511.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test/stress.jl should be run with special ulimit applied FreeBSD CI workers got ENOMEM randomly

3 participants