Skip to content
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

clean cached rlimit nofile in go runtime #4237

Closed
wants to merge 1 commit into from

Commits on Apr 18, 2024

  1. libcontainer:clean cached rlimit nofile in go runtime

    As reported in issue opencontainers#4195, the new version of go runtime will
    cache rlimit-nofile. before executing exec, the rlimit-nofile
    of the process will be updated with the cache. in runc, this will
    cause the rlimit-nofile set by the parent process for the container
    to become invalid. this can be solved by clearing the cache.
    
    Signed-off-by: ls-ggg <335814617@qq.com>
    ls-ggg authored and coolli committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    f9f8abf View commit details
    Browse the repository at this point in the history