Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

For production environment, you need to tune Tomcat configuration to improve the performance of Adeptia Connect.

You can also do the following steps together while configuring SSL on Tomcat.

Do the following:

  1. Go to …/<TomcatInstallFolder>/Tomcat 9.0/conf.
  2. Open server.xml file in the Text Editor.
  3. Change the value of the following parameters to the suggested value and save the file.
NameDescriptionSuggested Value
Tomcat Tuning
maxThreadsThe maximum number of request processing threads to be created by this Connector, which therefore determines the maximum number of simultaneous requests that can be handled.5000
connectionTimeoutThe number of milliseconds this Connector will wait, after accepting a connection, for the request URI line to be presented.20000
maxConnectionsThe maximum number of connections that the server will accept and process at any given time.10000
GZip Compression 
ServerOverrides the Server header for the http response.Adeptia
compressionThe Connector may use HTTP/1.1 GZIP compression in an attempt to save server bandwidth.ON
noCompressionUserAgentsThe User Agents for which compressions is not to be used. Some older browsers do not support compression.gozilla, traviata
compressableMimeTypeThe value is a comma separated list of MIME types for which HTTP compression may be used.text/html,text/xml,text/  css,application/javascript,application/ json
useSendfile(bool) To enable or disable sendfile capability. The default value is TRUE. Note that the use of sendfile will disable any compression that Tomcat may otherwise have performed on the response.false

Configuring memory for Tomcat 

Tomcat is installed with default memory as 128 and 256. You may need to set up memory to improve the performance of Adeptia Connect on Tomcat. To change the memory:

  1. Go to Start > Apps > Apache Tomcat 9.0 Tomcat9 > Configure Tomcat.
  2. On the Java tab, set the value of Initial memory pool and Maximum memory pool to 1024 and 2048 respectively.
  3. Click Apply.
  4. Click OK.

        
  • No labels