-WORKER_POOL_SIZE
|
-Optional
|
-This setting determines the number of concurrent processes initiated for managing document processing tasks. Default value is 3.
|
+ WORKER_POOL_SIZE
|
+ Optional
|
+
+ This setting determines the number of concurrent processes initiated for managing document processing tasks.
+ Default value is 3.
+ The optimal value depends on the memory (RAM), CPU capacity, and the expected workload. Higher resource availability and lighter workloads
+ allow for larger pool sizes, while limited environments or heavy processing (e.g., large files) may require smaller values
+ to prevent CPU and memory exhaustion.
+ Recommended configuration:
+
+
+ vCPUs |
+ RAM |
+ Normal Load |
+ High Load |
+
+
+ 1 |
+ 2–4 GB |
+ 1–2 jobs |
+ 1 job |
+
+
+ 2 |
+ 4–6 GB |
+ 2–3 jobs |
+ 1–2 jobs |
+
+
+ 4 |
+ 8–12 GB |
+ 4–6 jobs |
+ 3–4 jobs |
+
+
+ 6+ |
+ 16 GB+ |
+ 6 jobs |
+ 3–6 jobs |
+
+
+ It is strongly recommended to monitor system resource usage under real workloads and adjust the WORKER_POOL_SIZE accordingly.
+ |