Views:

Behavior:
The re-indexing of the complete fulltext of a file cabinet can consume a lot of resources and affect performance on systems with big file cabinets or on less powerful machines.

This may affect the daily work of the users. It is possible to define PAUSE times for the fulltext re-indexing.
All new documents, which are stored in these pause times are not affected and will still be processed, as these pause times only concern the fulltext re-index process.

Solution:
To schedule these pause times, the LongLivingProcessConfiguration.config located in C:\ProgramFiles\DocuWare\BackgroundProcessService, has to be adapted.
The existing part “<processor limit="1" taskType="5...”  has to be expanded as shown below (Please create a backup of the original file first!):


         <WeekSchedule>
            <DaySchedule dayOfTheWeek="Monday">
              <PauseDefiners>
                <PauseDefiner fromTime="08:00:00" toTime="20:00:00" />
              </PauseDefiners>
            </DaySchedule>
            <DaySchedule dayOfTheWeek="Tuesday">
              <PauseDefiners>
                <PauseDefiner fromTime="08:00:00" toTime="20:00:00" />
              </PauseDefiners>
            </DaySchedule>
            <DaySchedule dayOfTheWeek="Wednesday">
              <PauseDefiners>
                <PauseDefiner fromTime="08:00:00" toTime="20:00:00" />
              </PauseDefiners>
            </DaySchedule>
            <DaySchedule dayOfTheWeek="Thursday">
              <PauseDefiners>
                <PauseDefiner fromTime="08:00:00" toTime="20:00:00" />
              </PauseDefiners>
            </DaySchedule>
            <DaySchedule dayOfTheWeek="Friday">
              <PauseDefiners>
                <PauseDefiner fromTime="08:00:00" toTime="12:00:00" />
                <PauseDefiner fromTime="16:00:00" toTime="20:00:00" />
              </PauseDefiners>
            </DaySchedule>
            <DaySchedule dayOfTheWeek="Saturday">
            </DaySchedule>
            <DaySchedule dayOfTheWeek="Sunday">
            </DaySchedule>
          </WeekSchedule>
      </DWTaskOptions>

In this sample, the pauses are defined for Monday to Thursday from 8am to 8pm. The documents that need to be re-indexed are processed at night.
For Friday, two pauses are defined. The times must be set in the 24 hour format according to the time zone specified on the machine running the Background Process Server.
This sample may already exist, but is commented out by default. You will need to remove the highlighted text below "<!--" and "-->" then alter the schedule as you see fit.

KBA is applicable to On-Premise systems ONLY.

Comments (0)