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 (affects internal OCR Engine only)
-Dua.eldoc.idp.processing.threads10Defines max number of IDP processing threads
-Dua.eldoc.idp.preprocessing.threads4Defines max number of IDP pre-processing threads
-Dua.eldoc.idp.postProc.timeoutSec60Defines timeout (per execution entity, e.g.: field, recoForm) for executing (running) post-processing script
-Dua.eldoc.pdf.maxMemoryBytes

10485760

(10MB)

Defines maximum memory (RAM) to be used for PDF document content buffers (on per file basis). Possible values:

  • -1 means no limit and all buffers will be stored in main memory;
  • 0 means, that main memory will not be used and all buffers will be stored in temp files
  • other positive values instruct system to use a portion of main-memory and additionally temporary file(s) in case the specified portion is exceeded
--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

Last modified: May 12, 2023