When expo is nagging you about maxfiles and maxfilesperproc limits do the following:
- Copy both the *.plist files to /Library/LaunchDaemons/
- Change ownership to root:wheel
- Change permission to 644
When expo is nagging you about maxfiles and maxfilesperproc limits do the following:
| <?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>2621440</string> | |
| <string>5242880</string> | |
| </array> | |
| <key>RunAtLoad</key> | |
| <true/> | |
| <key>ServiceIPC</key> | |
| <false/> | |
| </dict> | |
| </plist> |
| <?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.maxfilesperproc</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>launchctl</string> | |
| <string>limit</string> | |
| <string>maxfilesperproc</string> | |
| <string>262144</string> | |
| <string>524288</string> | |
| </array> | |
| <key>RunAtLoad</key> | |
| <true/> | |
| <key>ServiceIPC</key> | |
| <false/> | |
| </dict> | |
| </plist> |