Shared Memory Configuration

Configure the /dev/shm shared memory size for engine pods in the your Helm values file.

You change shared memory size for processing, publishing, and checkpointing pods by setting resource limits. This allows you to set shared memory for the engine without having to change user privileges.

To set the /dev/shm value for engine processing, publishing, and checkpointing pods, set the following Helm chart properties:

global.topology.domains[x].subdomains[y].engines[z].processing.resources.limits.memory
global.topology.domains[x].subdomains[y].engines[z].publishing.resources.limits.memory
global.topology.domains[x].subdomains[y].engines[z].checkpointing.resources.limits.memory

For example:

domains:
    subdomains:
      - id: 1
      secondaryStartDelaySeconds: 5
      engines:
        - id: 1
        external: false
        checkpointing:
          replicaCount: 1
        processing: 
          resources:
            limits: 
              memory: "2Gi"