ulimit open files setting fail

Discussion in 'OS X Yosemite (10.10)' started by redonkulus, Nov 7, 2015.

  1. redonkulus macrumors newbie

    redonkulus

    Joined:
    Nov 7, 2015
    Location:
    Ca
    #1
    I have read countless articles on how to solve this issue but none of them seem to work for me.

    Specs
    10.10.5 MacPro Retina Mid 2012
    Processor: 2.6 GHz Intel Core i7
    Memory: 16 GB 1600 MHz DDR3

    Here are the settings I have now:

    $ cat /etc/sysctl.conf
    kern.maxfiles=20480
    kern.maxfilesperproc=20480

    $ cat /etc/launchd.conf
    limit maxfiles 8192 20480
    limit maxproc 1000 2000

    $ ulimit -n 2048
    -bash: ulimit: open files: cannot modify limit: Operation not permitted

    I've tried different numbers but nothing seems to work. Any advice or pointer to an article is appreciated.
     
  2. redonkulus thread starter macrumors newbie

    redonkulus

    Joined:
    Nov 7, 2015
    Location:
    Ca
    #2
    Turns out I was able to solve this by adding it to my bash file.
     

Share This Page