WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Reduce the soft file descriptor limit to 10240

Open OneBlue opened this issue 6 months ago • 2 comments

Summary of the Pull Request

This pull request solves a regression introduced in 2.5.7 causing docker's init.d script to fail to start

PR Checklist

  • [X] Closes: Link to issue #12985 12985
  • [ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
  • [ ] Tests: Added/updated if needed and all pass
  • [ ] Localization: All end user facing strings can be localized
  • [ ] Dev docs: Added/updated if needed
  • [ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

We have increased the soft file descriptor limit to 1,048,576, and given that the hard file descriptor limit cannot be lower than the soft one (which is what ulimit -Hn 524288 is trying to do), that command fails.

Validation Steps Performed

Validated that docker successfully starts

OneBlue avatar May 28 '25 18:05 OneBlue

/azp run

OneBlue avatar May 29 '25 23:05 OneBlue

No pipelines are associated with this pull request.

azure-pipelines[bot] avatar May 29 '25 23:05 azure-pipelines[bot]