Question:
How do I extend the automatic lock for very large documents?
Answer:
storageRobot has a mechanism that prevents the same configuration from being executed in parallel.
The Logic
In the event of unexpected terminations (e.g. server crash or power failure) is implemented here in addition to a time-dependent fallback mechanism that automatically releases the lock.
The processing of storageRobot is roughly divided into two areas. First, it performs actions such as analyzing the document and, for example, determining the pages where the document should be split. This pre-processing can take quite a long time, depending on the size of the document. This is followed by the individual document processing.
The default lock for the pre-processing is 15 minutes, and the lock during individual document processing is 1 minute. However, the latter is reset for each individual document, so that this time is available for each individual document.
In exceptional cases, the pre-processing of extremely large documents may take longer than 15 minutes. If storageRobot is restarted with the same configuration, the lock would be removed and the new process would work in parallel. This may lead to unexpected behavior.
Possible solution
Note:
Manually changing the configuration file can cause a single configuration or the entire application to stop working or work incorrectly. Therefore, always create a backup copy of your configuration file before making any changes and make absolutely sure that the parameters and values are spelled exactly as you enter them. You edit the configuration file at your own risk.
These times can now be adjusted using the new settings in the configuration. The specified values correspond to seconds (15 minutes = 900 seconds).
<LockMutexPreprocess>900</LockMutexPreprocess> Change to adjust the time span for the pre-process
<LockMutexProcess>60</LockMutexProcess> Change to adjust the time span for single document processing.
If the settings in the <General> -block are not available, they can either be added directly or the configuration wizard must be run through once.