Set the number of connector threads based on the number of expected concurrent Contenta Web users by modifying the file server.xml in the conf/ subdirectory of the Apache Tomcat home directory.
Procedure
- Access the conf/ subdirectory of the Tomcat home directory and in this location, open server.xml for editing.
- Configure the Connector element for port 8009 if you will use that port for Contenta Web (for example, using Tomcat with Apache HTTP server and mod_jk connector on Linux):
- In the server.xml file, find the Connector element, which looks as follows by default:
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
- Configure the number of connector threads by adding attributes. The following are initial recommended settings:
<Connector port="8009" protocol="AJP/1.3"
redirectPort="8443"
connectionTimeout="20000"
secure="false"
maxThreads="500"
minSpareThreads="10"
maxPostSize="52428800"
URIEncoding="UTF-8"
/>
- Configure the Connector element for port 8080 if you will use that port for Contenta Web (for example, using Tomcat with IIS and ARR on Windows):
- In the server.xml file, find the Connector element, which looks as follows by default:
<Connector port="8080" protocol="HTTP/1.1"/>
- Configure the number of connector threads by adding attributes. The following are initial recommended settings:
<Connector port="8080" protocol="HTTP/1.1"
redirectPort="8443"
connectionTimeout="20000"
secure="false"
maxThreads="500"
minSpareThreads="10"
maxPostSize="52428800"
URIEncoding="UTF-8"
/>
- Save and close server.xml.
- Restart Tomcat.