How to increase Tomcat Max Threads on CA Service Desk Manager (SDM) 12.x and 14.1

Document ID : KB000009507
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

The Max Threads for Tomcat should be increased from inception, as it is originally set to a low value (75) by default.

The recommended size is of 150 to 300 and it's changed in file server.xml. This document provides the Steps to do the same.

Environment:
The instructions from this document applies to SDM r12.x and 14.1.For SDM 12.9 and 14.1, it applies to both Conventional and Advanced Availability modes.
Instructions:

Here are the revised steps to increase the number of Tomcat threads:

  1. Take a backup copy of the server.xml file from NX_ROOT/bopcfg/www/CATALINA_BASE/conf.

  2. Open server.xml file from NX_ROOT/bopcfg/www/CATALINA_BASE/conf with a 
    text editor. Find the appropriate "connector" section and set maxThreads to 300. 

    Before 
    <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" 
    redirectPort="8443"/> 

    After 

    <Connector connectionTimeout="20000" port="8080" 
    protocol="HTTP/1.1"maxThreads="300" redirectPort="8443"/>

  3. Restart Tomcat:
    Stops Tomcatpdm_tomcat_nxd -c stop
    Checks Tomcat service statuspdm_tomcat_nxd -c status
    Starts Tomcatpdm_tomcat_nxd -c start
    Checks Tomcat service statuspdm_tomcat_nxd -c status
  4. For SDM releases 12.6, 12.7 as well as 12.9 and 14.1 in Conventional mode, the instructions apply to the Primary and all Secondary servers (if any).

  5. For SDM releases 12.9 and 14.1 running Advanced Availability mode, the instructions apply to the Background, Standby and Application servers.
Additional Information:

Refer to the following document for instructions on how to increase the Tomcat Java Heap Size for SDM:

TEC491277 - Steps to increase the JVM Heap Size for Tomcat in r12.x CA Service Desk

The information in this article has been included in our product documentation. You can find further details here:

https://docops.ca.com/ca-service-management/14-1/en/troubleshooting/troubleshooting-ca-service-desk-manager/how-to-increase-tomcat-max-threads-on-ca-service-desk-manager