Last active
March 21, 2019 14:27
-
-
Save ryupold/72372df242ef27de527c6c86e7e0d10e to your computer and use it in GitHub Desktop.
Hitting max. open files on macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list top apps with open handles | |
sudo lsof -n | cut -f1 -d' ' | uniq -c | sort | tail | |
#show limits | |
launchctl limit maxfiles | |
#increase limits | |
sudo launchctl limit maxfiles 65536 200000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment