Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8291060 OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE
  3. JDK-8300055

[BACKOUT] OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P2
    • 20
    • None
    • hotspot
    • None
    • 20
    • b32

    Backports

      Description

        setrlimit(RLIMIT_NOFILE, RLIM_INFINITY) appears to cause serious problems for ksh (shell) due to a bug in ksh itself, however, this is still a regression from user's point of view and needs to be fixed.

        The easiest fix at this moment is simply to back out the original fix, which triggers the issue in ksh.

        I tested the original change with the default terminal on Mac, i.e. "zsh" and did not think to try the other ones.

        Attachments

          Issue Links

            Activity

              People

                gziemski Gerard Ziemski
                gziemski Gerard Ziemski
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: