Created
August 10, 2014 09:30
-
-
Save djpentz/1ff2c7b0f162e835c739 to your computer and use it in GitHub Desktop.
Increase Tomcat open file limit on Ubuntu
This file contains hidden or 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
1. Edit /etc/init.d/tomcat7 (modify for whatever version you're running) and add the following two lines: | |
ulimit -Hn 65536 | |
ulimit -Sn 65536 | |
Feel free to choose whatever limit you prefer - I've simply indicated the option I chose. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment