Maximizing number of open files

Discussion in 'Mac OS X Lion (10.7)' started by uv2012, May 21, 2012.

  1. uv2012 macrumors newbie

    May 21, 2012
    I use OS X Lion 10.7 on a powerful Mac Pro (12 core, 96GB RAM), and attempting to run a scientific software I get the error message that too many files are open. I would like to make the maximum open files and processes on my system unlimited. I tried following some online advice, and checking the maximum processes processes available using the following command I get:
    >launchctl limit
    cpu unlimited unlimited
    filesize unlimited unlimited
    data unlimited unlimited
    stack 8388608 67104768
    core unlimited unlimited
    rss unlimited unlimited
    memlock unlimited unlimited
    maxproc 709 1064
    maxfiles 10000 10240
    I tried to increase the limit of maxfiles, maxproc and stack by (for example):
    >launchctl limit maxfiles 100000
    but this doesn't make any difference. I would be grateful for your help regarding a permanent solution to this issue.
  2. maflynn Moderator


    Staff Member

    May 3, 2009
    A quick google shows that the limit is in the sysctl.conf. I don't recommend making any changes to system files but there appears to be solutions out there to bump up the OS' file limit

    Here's one such website I found
  3. maxma macrumors newbie

    Jul 23, 2013

Share This Page