Configuring the package to improve resource usage
To support hardware resources in Citrix virtual environments, Forcepoint DLP Endpoint must be configured to support additional threads and improve memory usage. This change needs to be made on each Citrix server running Forcepoint DLP Endpoint.
To customize the configuration:
Steps
- Open the AlternateResource.config.xml file in a text editor.
- Complete the following:
- Set <numOfThreads> (the number of threads per processor). There are two options:
- Set <numOfThreads> to -1. If you set this to -1, the system automatically doubles the number of cores. Forcepoint recommends this option.
- Manually set <numOfThreads> to at least twice the number of cores on the Terminal Services server. For example, if you have 4 cores on the Terminal Services server, set <numOfThreads>8</numOfThreads>.
- Change all resource IDs in the document to reflect the number of threads you wish to use.
- Increase <MaxRamSpace> to optimize endpoint memory usage. To do so:
- Multiply the number of supported sessions by 50 then by 0.125. For example, if there are 8 supported sessions, multiply 8 x 50 x 0.125 = 50.
- Round up the result to the nearest integer in multiples of 50MB, but no less than 100MB.
For example, using the result from the first step (50), you get 100 (a multiple of 50, but not less than 100).
- Convert the result from megabytes to bytes.
For example, using the result from the second step (100MB) converted to bytes, you get 100000000.
- Set <MaxRamSpace> to this value.
For example, using the result from the third step, you would set this value to <MaxRamSpace>100000000</MaxRamSpace>.
- Set <numOfThreads> (the number of threads per processor). There are two options:
- Save the AlternateResource.config.xml file.
- In the Windows Task Manager, stop the EndpointClassifier service.
-
Copy the AlternateResource.config.xml file to C:\Program Files\Websense\Websense Endpoint:
- From the command line, go to C:\Program Files\Websense\Websense Endpoint.
- Run the following command:
WDEUtil.exe -set disableantitampering=true
- Copy AlternateResource.config.xml file to the directory.
- In Windows Task Manager, restart the EndpointClassifier service.
-
Restart the WDEUtil service through the command line.
- From the command line, go to C:\Program Files\Websense\Websense Endpoint.
- Run the following commands:
WDEUtil.exe -stop wsdlp
WDEUtil.exe -start wsdlp