How to increase Tomcat Max Threads in Service Desk Manager (SDM)

book

Article ID: 9507

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/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 150 to 300 and it is changed in file NX_ROOT/bopcfg/www/CATALINA_BASE/conf\server.xml

Environment

Service Desk Manager 12.x ,14.1and 17.x

All Supported Operating Systems

Resolution

Here are 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 Tomcat pdm_tomcat_nxd -c stop
Checks Tomcat service status pdm_tomcat_nxd -c status
Starts Tomcat pdm_tomcat_nxd -c start
Checks Tomcat service status pdm_tomcat_nxd -c status

NOTES:

1.  For SDM in Conventional mode, the instructions apply to the Primary and all Secondary servers (if any).
2.  For SDM in Advanced Availability (AA) 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:

https://knowledge.broadcom.com/external/article?articleId=24814

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

https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/ca-service-management/17-3/troubleshooting1/troubleshooting-ca-service-desk-manager/how-to-increase-tomcat-max-threads-on-ca-service-desk-manager.html