[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
[Warning] File Descriptor 1064 exceeded FD_SETSIZE=1024
To check the current limits on your Mac OS X system, run:
The last two columns are the soft and hard limits, respectively.launchctl limit maxfiles
Adjusting Open File Limits in Yosemite
To adjust open files limits on a system-wide basis in Mac OS X Yosemite, you must create two configuration files. The first is a property list (aka plist) file in /Library/LaunchDaemons/limit.maxfiles.plist that contains the following XML configuration:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>limit.maxfiles</string>
<key>ProgramArguments</key>
<array>
<string>launchctl</string>
<string>limit</string>
<string>maxfiles</string>
<string>200000</string>
<string>200000</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceIPC</key>
<false/>
</dict>
</plist>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple/DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>limit.maxproc</string>
<key>ProgramArguments</key>
<array>
<string>launchctl</string>
<string>limit</string>
<string>maxproc</string>
<string>2048</string>
<string>2048</string>
</array>
<key>RunAtLoad</key>
<true />
<key>ServiceIPC</key>
<false />
</dict>
</plist>
In addition to setting these limits at the system level, we recommend setting the at the session level as well by appending the following lines to your bashrc, bashprofile, or analogous file:
Code: Select all
ulimit -n 200000
ulimit -u 2048