diff --git a/doc/install.txt b/doc/install.txt index fd7e9c91..2e9a57ba 100644 --- a/doc/install.txt +++ b/doc/install.txt @@ -27,13 +27,13 @@ are slightly different. Please consult developers.txt in this directory. * III. Download the VIVO Application Source * IV. Specify deployment properties * V. Compile and deploy - * VI. Set Tomcat JVM Parameters + * VI. Set Tomcat JVM parameters and security limits * VII. Start Tomcat * VIII. Log in and add RDF data * IX. Set the Contact Email Address (if using "Contact Us" form) * X. Setup Apache Tomcat Connector * XI. Configure Pellet Reasoner - * XII. Was the Installation Successful? + * XII. Was the installation successful? ------------------------------------------------------------------------------- @@ -169,7 +169,7 @@ to build VIVO and deploy to Tomcat's webapps directory. ------------------------------------------------------------------------------- -VI. Set Tomcat JVM Parameters +VI. Set Tomcat JVM parameters and security limits Currently, VIVO copies the contents of your RDF database into memory in order to serve Web requests quickly (the in-memory copy and the underlying database @@ -192,6 +192,14 @@ sets of data, 256m to 512m should be sufficient. If an OutOfMemoryError is encountered during VIVO execution, it can be remedied by increasing the heap parameters and restarting Tomcat. +Security limits: VIVO is a multithreaded web application that may require more threads than are +permitted under your Linux installation's default configuration. Ensure that +your installation can support the required number of threads by making the +following edits to /etc/security/limits.conf: + + apache hard nproc 400 + tomcat6 hard nproc 1500 + ------------------------------------------------------------------------------- VII. Start Tomcat