Procedure to configure Scan timeout in SPE. Also details out steps to bypass the scan timeout error if required.
To change ScanTimeoutInSeconds and ByPassScanTimeoutError in SPE 8.2.2 or later
To navigate to the default installation folder containing the configuration.xml file, do one of the following:
- In Linux bash, type:
cd /opt/SYMCScan/bin
- In Windows cmd, type:
cd "C:\Program Files\Symantec\Scan Engine"
To backup the current configuration.xml, copy it to another folder
To find the current ScanTimeoutInSeconds, type:
./xmlmodifier -q /configuration/ScanTimeoutInSeconds/@value configuration.xml
Note the current value
To set the current ScanTimeoutInSeconds, type:
./xmlmodifier -s /configuration/ScanTimeoutInSeconds/@value 20 configuration.xml
... where 20 is the number of seconds for the timeout value Note: If using a Netapp filer this should be set to 2/3 of the value of the Netapp Filer Request Service Timeout.
To find the current ByPassScanTimeoutError, type:
./xmlmodifier -q /configuration/ByPassScanTimeoutError/@value configuration.xml
Note the current value
(OPTIONAL) To set ByPassScanTimeoutError to false, type:
./xmlmodifier -s /configuration/ByPassScanTimeoutError/@value false configuration.xml
systemctl restart symcscan
net stop symcscan
net start symcscan
For SPE 8.2.0 or 8.2.1 you would need to upgrade to SPE 8.2.2 to implement this feature.
In configuration.xml, RequestTimeoutInSeconds is the number of seconds SPE will wait for a scan request after a TCP connection is open to the ICAP listener on port 1344. By default, this value is set to 300 seconds and needs no adjustment. Usually the scan client sends the scan request almost immediately after the TCP handshake.