In the PCA Web Console, when a hit exceeds the Max Data Size
value defined (2MB by default), the Total dropped because hit exceeded max data
size
statistic is incremented. This stat is available in the Statistics tab of the Console.
HTTP request and response sizes
When the PCA assembles TCP connection data into requests and responses, the following parameters define whether individual requests and responses are monitored for maximum size and whether the connection is closed when the defined limit is exceeded.
In the <Capture>
section of the ctc-conf.xml
file, the following settings define and enable the checking of maximum individual request or response size at the TCP connection level. It is the first size check of this type within the PCA software chain:
<DeleteTcpLargeConnDisabled>false</DeleteTcpLargeConnDisabled>
<MaxTcpConnectionSize>2097152</MaxTcpConnectionSize>
- If
<DeleteTcpLargeConnDisabled>
is set totrue
, no check on the data size is performed. If so, the<MaxTcpConnectionSize>
is not used.- The default value is
false
.Note: This value is not exposed in the Web Console and must be configured by manually editing thectc-conf.xml
file.
- The default value is
- If
<DeleteTcpLargeConnDisabled>
is set tofalse
or is not present in the config file, then<MaxTcpConnectionSize>
defines the maximum size of a single request or response.- The default value is 2MB (2097152 bytes).
- If the maximum size is exceeded, then the TCP connection is automatically closed.
Note: This value is not exposed in the Web Console and must be configured by manually editing the
ctc-conf.xml
file.
Max size during parsing
When the PCA pipeline is parsing requests and responses, three parameters are applied to determine the maximum permitted size of each request, response, and the entire hit.
In the <Parse>
section of the ctc-conf.xml
file, the following settings are used to define the maximum size during this stage of PCA processing:
<MaxRequestSizeBytes>2097152</MaxRequestSizeBytes>
<MaxResponseSize>1572864</MaxResponseSize>
<MaxDataSizeBytes>2097152</MaxDataSizeBytes>
- Setting
- Description
< MaxRequestSizeBytes>
- If the request size is greater than the maximum value, the hit is dropped. The default is 2 MB.
< MaxResponseSizeBytes>
- The
<MaxResponseSize>
value is used to check the size of both the request and the response. The default is 1.5 MB.- If the response size is greater than the maximum value, the hit is truncated to the maximum value.
- This value is exposed and configurable in the Pipeline tab of the Web Console.
< MaxDataSizeBytes>
- The
<MaxDataSizeBytes>
value is used to check the total size of a hit (request and response) before it is sent from the PCA to the target Windows™ machine. The default is 2 MB.- If the hit size is greater than the maximum value, the hit is dropped.
Note: This value is not exposed in the Web Console and must be configured by manually editing the
ctc-conf.xml
file.
- If the hit size is greater than the maximum value, the hit is dropped.
Restart PCA
To apply any of the PCA configuration changes you must restart PCA.
- Save and close
ctc-conf.xml
. - Close any browser windows open to the PCA Web Console.
- Restart the PCA.