System service configuration

elDoc IDP & BPM system comes with generic configuration parameters. Before launching elDoc system as system service you need to review and adjust those parameters in order to ensure stability and proper operation of the system.

Service parameters are set via elDoc-server.sh (for Linux deployment) or elDoc-server.cmd (for Windows deployment) file.

List of system service process parameters

elDoc IDP & BPM system is a Java-based application, as such service parameters are provided as Java-process command-line arguments.

Parameter nameDefault valueDescription
-XmsZZg-Xms10gSets the minimal reserved memory space for the elDoc server system process.
-XmxZZg-Xmx10gSets the maximum memory for the elDoc server system process.
-Dorg.bytedeco.javacpp.maxPhysicalBytes16gSets maximum memory for the IDP-related sub-system like computer vision.
-Dua.eldoc.disableSchedulersfalseDisables automatic launch of the elDoc system schedulers on server start (system scheduler still can be enabled manually via the administration page).
-Dua.eldoc.ocr.page.timeoutSec300Defines timeout (per-page) for performing OCR 
-Dua.eldoc.idp.processing.threads10Defines max number of IDP processing threads
-Dua.eldoc.idp.preprocessing.threads4Defines max number of IDP pre-processing threads
--port8080Sets on which port elDoc server will be listening for the requests (NOTE: standard practice is to use reverse-proxy in front of the elDoc system like nginx).
--sslport443Sets the HTTPS port on which elDoc server will be listening for requests.
--sslcerteldoc-cert-nameSets the name of the HTTPS certificate to be used.
-Djavax.net.ssl.keyStore$BASE_DIR/cert/keystore.jksDefines path to the key store container.
-Djavax.net.ssl.keyStorePassword
Defines password for the key store container.
-Djavax.net.ssl.trustStore$BASE_DIR/cert/cacerts.jksDefines path to the key store container with trusted certs.
-Djavax.net.ssl.trustStorePassword
Defines password for the key store container with trusted certs.
-Dua.eldoc.export.maxdocs100000Defines maximum number of documents processed by CSV-export (@since v5.3.5)

Last modified: May 12, 2023