Created
October 22, 2012 18:05
-
-
Save serby/3933039 to your computer and use it in GitHub Desktop.
Increase max file descriptors SmartOS
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
projdel node | |
projadd -c "node settings" -U admin -G staff -K "process.max-file-descriptor=(basic,65535,deny)" node | |
svccfg -s node-nodestack-service setprop 'method_context/project=node' | |
svcadm disable node-nodestack-service | |
svcadm enable node-nodestack-service | |
pgrep node | |
plimit <PID> | |
nofiles(descriptors) 1024 65536 | |
# Should be 65535! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment