How to manage the number of threads used for HTTP request processing in TIBCO ActiveMatrix Policy Agent.

How to manage the number of threads used for HTTP request processing in TIBCO ActiveMatrix Policy Agent.

book

Article ID: KB0090413

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Policy Agent -
Not Applicable -

Description

Description:
The number of threads used for HTTP request processing can be configured at the Tomcat level.

Issue/Introduction

How to manage the number of threads used for HTTP request processing in TIBCO ActiveMatrix Policy Agent.

Resolution

The Tomcat property, maxThreads, specifies the maximum number of simultaneous requests that can be handled by the HTTP Connector. For more details, refer to the Tomcat documentation at http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
The following is the HTTP Connector section, from ../tomcat/config.xml, created by default when a Proxy Agent instance is created.


<Connector port="8981" maxHttpHeaderSize="8192"

               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="5698" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />