Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3996

bin/karaf does not set ulimit if MAX_FD_LIMIT="unlimited"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.4, 2.3.11, 2.4.3, 4.0.1
    • Fix Version/s: 2.3.12, 3.0.5, 2.4.4, 4.0.2
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      OSX Yosemite

      Description

      On OSX Yosemite, where ulimit -H -n returns unlimited, the bin/karaf script will not increase the ulimit. Even if I set MAX_FD, it gets ignored because the following line stops anything useful from happening:

      if [ "$MAX_FD_LIMIT" != 'unlimited' ]; then

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              donaldh Donald Hunter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: