ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Changing ULimit Values on Mac OSX Yosemite

    IT Discussion
    apple mac osx yosemite mac osx 10.10 ulimit shell limits unix
    1
    3
    2.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Anyone able to change the ulimit values on Mac OSX Yosemite? None of the traditional means of doing so seem to work, not even the recent Mac specific ones. Here is what I have...

      ulimit -n
      256
      

      I need to increase that to, say, 2048.

      1 Reply Last reply Reply Quote 2
      • scottalanmillerS
        scottalanmiller
        last edited by

        Okay, looks like there are two values to change. First the launchd limit needs to be raised. You can do that like this...

        sudo launchctl limit maxfiles 2048 unlimited
        

        To see if that worked just run...

        launchctl limit
        
        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          That won't change your running shell. But now you can use the traditional ulimit command to alter the running shell....

          ulimit -n 2048
          

          Voila, that worked.

          ulimit -n
          2048
          
          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post