Question:
How can the Imaging Worker processes be configured?
Answer:
The properties of the Imaging Worker processes can be adjusted from DocuWare 7 onwards in the file "DocuWare.BackgroundProcessService.LongLiving.GenericProcess.x86.exe.config" in the directory "C:\Program Files (x86)\DocuWare\Background Process Service\".
*Note: To activate the changes the Background Process Service must be restarted.
For this the following section must be inserted in the area <configSections>:
<section name="ImagingToolkitSettings" type="DocuWare.Imaging.Toolkit.SettingSectionHandler, DocuWare.Imaging.Toolkit" />
The following section must also be inserted:
<ImagingToolkitSettings imagingPath="" processPoolType="Smart" processPoolSize="Small" workerPriority="BelowNormal" workerDurability="Medium" workerIdleTimeout="01:00:00">
<ImagingServerSettings>
<!-- Here Imaging Server core settings can be overridden
</ImagingServerSettings>
</ImagingToolkitSettings>
Set the number of Imaging Worker processes
The parameter "processPoolSize" determines the number of Imaging Worker processes. The default value in DocuWare is "Medium".
Possible values:
- Small
- Medium
- Big
Adjusting the priority of the Imaging Worker processes
The "workerPriority" parameter defines the priority of the Imaging Worker processes. The default value of this parameter is "Normal".
Possible values:
- Idle
- BelowNormal
- Normal
- AboveNormal
Set the number of CPU cores in use
In the LongLivingProcessConfiguration.config file in the directory (%ProgramFiles(x86)%\DocuWare\Background Process Service\), you can also specify the maximum number of CPU cores used. This is done in the following section:
<processor limit="4" taskType="0" taskPriority="1" maxFailCount="2" checkPeriod="30" taskTimeout="00:01:00" defaultTimeForProcessing="00:00:10" />
The parameter "processor limit" defines the number of processors. taskType="0" refers to the ImagingWorkers.
