-
Notifications
You must be signed in to change notification settings - Fork 18.1k
runtime: automatically bump RLIMIT_NOFILE on Unix [1.20 backport] #59064
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
CherryPickApproved
Used during the release process for point releases
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
Milestone
Comments
Fix CL seems largeish but harmless; as long as the backport CLs aren't more complicated, approved. |
Change https://go.dev/cl/478659 mentions this issue: |
paralin
added a commit
to skiffos/buildroot
that referenced
this issue
Mar 29, 2023
golang/go#59064 https://go-review.googlesource.com/c/go/+/478659 Signed-off-by: Christian Stewart <[email protected]>
paralin
added a commit
to skiffos/buildroot
that referenced
this issue
Mar 31, 2023
golang/go#59064 https://go-review.googlesource.com/c/go/+/478659 Signed-off-by: Christian Stewart <[email protected]>
paralin
added a commit
to skiffos/buildroot
that referenced
this issue
Apr 4, 2023
golang/go#59064 https://go-review.googlesource.com/c/go/+/478659 Signed-off-by: Christian Stewart <[email protected]>
paralin
added a commit
to skiffos/buildroot
that referenced
this issue
Apr 6, 2023
golang/go#59064 https://go-review.googlesource.com/c/go/+/478659 Signed-off-by: Christian Stewart <[email protected]>
gopherbot
pushed a commit
that referenced
this issue
Apr 14, 2023
…ild process If we increased the NOFILE rlimit when starting the program, restore the original rlimit when forking a child process. In CL 393354 the os package was changed to raise the open file rlimit at program start. That code is not inherently tied to the os package. This CL moves it into the syscall package. This is a backport of CLs 476096 and 476097 from trunk. For #46279 Fixes #59064 Change-Id: Ib813de896de0a5d28fa2b29afdf414a89fbe7b2a Reviewed-on: https://go-review.googlesource.com/c/go/+/478659 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: David Chase <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Tobias Klauser <[email protected]>
Closed by merging ecf7e00 to release-branch.go1.20. |
paralin
added a commit
to skiffos/buildroot
that referenced
this issue
Apr 22, 2023
golang/go#59064 https://go-review.googlesource.com/c/go/+/478659 Signed-off-by: Christian Stewart <[email protected]>
paralin
added a commit
to skiffos/buildroot
that referenced
this issue
Apr 28, 2023
golang/go#59064 https://go-review.googlesource.com/c/go/+/478659 Signed-off-by: Christian Stewart <[email protected]>
paralin
added a commit
to skiffos/buildroot
that referenced
this issue
May 1, 2023
golang/go#59064 https://go-review.googlesource.com/c/go/+/478659 Signed-off-by: Christian Stewart <[email protected]>
paralin
added a commit
to skiffos/buildroot
that referenced
this issue
May 2, 2023
golang/go#59064 https://go-review.googlesource.com/c/go/+/478659 Signed-off-by: Christian Stewart <[email protected]>
paralin
added a commit
to skiffos/buildroot
that referenced
this issue
May 2, 2023
golang/go#59064 https://go-review.googlesource.com/c/go/+/478659 Signed-off-by: Christian Stewart <[email protected]>
bradfitz
pushed a commit
to tailscale/go
that referenced
this issue
May 25, 2023
…ild process If we increased the NOFILE rlimit when starting the program, restore the original rlimit when forking a child process. In CL 393354 the os package was changed to raise the open file rlimit at program start. That code is not inherently tied to the os package. This CL moves it into the syscall package. This is a backport of CLs 476096 and 476097 from trunk. For golang#46279 Fixes golang#59064 Change-Id: Ib813de896de0a5d28fa2b29afdf414a89fbe7b2a Reviewed-on: https://go-review.googlesource.com/c/go/+/478659 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: David Chase <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Tobias Klauser <[email protected]>
bradfitz
pushed a commit
to tailscale/go
that referenced
this issue
May 25, 2023
…ild process If we increased the NOFILE rlimit when starting the program, restore the original rlimit when forking a child process. In CL 393354 the os package was changed to raise the open file rlimit at program start. That code is not inherently tied to the os package. This CL moves it into the syscall package. This is a backport of CLs 476096 and 476097 from trunk. For golang#46279 Fixes golang#59064 Change-Id: Ib813de896de0a5d28fa2b29afdf414a89fbe7b2a Reviewed-on: https://go-review.googlesource.com/c/go/+/478659 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: David Chase <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Tobias Klauser <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
CherryPickApproved
Used during the release process for point releases
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
@ianlancetaylor requested issue #46279 to be considered for backport to the next 1.20 minor release.
The text was updated successfully, but these errors were encountered: