Self Service Password Reset (SSPR)

From ZENworks Ninja
Jump to: navigation, search

Memory and Tuning

Production with more than 1000 users

This change would go into the bin/catalina.sh file

bin/catalina.sh

export CATALINA_OPTS="$CATALINA_OPTS -Xms2048m"
export CATALINA_OPTS="$CATALINA_OPTS -Xmx2048m"

Example In the server.xml file of tomcat

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="1000" scheme="https" secure="true" keystoreFile="C:\ProgramFiles\Java\jre7\bin\tomcat.keystore" keystorePass="changeit" clientAuth="false" sslProtocol="TLS" />

Specifically, set maxThreads accordingly. This would be for a system with at least 6GB of RAM.