Skip to content

Instantly share code, notes, and snippets.

@djpentz
Created August 10, 2014 09:30
Show Gist options
  • Save djpentz/1ff2c7b0f162e835c739 to your computer and use it in GitHub Desktop.
Save djpentz/1ff2c7b0f162e835c739 to your computer and use it in GitHub Desktop.
Increase Tomcat open file limit on Ubuntu
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