SAP Edge Integration Cell (EIC) - Solace Broker Pods Fail to Start with POST Violation (nofile Limit)

Solution verified - Updated on

Request a new translation or translation update

A translation for your language preference does not exist. Click below to request a translation for your selected language.

Submit request

Environment

This article applies whenever the Solace broker container starts with an effective hard nofile limit below 1048576, regardless of the specific OpenShift or EIC release. Apply the resolution when your environment meets that condition.

  • Red Hat OpenShift Container Platform 4.x, self-managed (reported on a 4.22 cluster)
  • SAP Integration Suite, Edge Integration Cell
  • Namespace: edge-icell-services

Issue

SAP Edge Integration Cell (EIC) cannot complete its services deployment when the Solace broker container receives a hard open-file limit below 1048576. Installation or upgrade fails during deployment of edge-icell-services: Solace pods fail to become ready and the broker exits after its startup resource check.

The failure has been observed after an EIC upgrade that brings Solace 10.25 (EIC 8.48), on a cluster where OpenShift was not changed and the previous EIC version had been running.

Example error from the Solace broker startup log:

ERROR POST Violation [022]:Required system resource missing, Hard resource limit nofile 1048576 is required, 524288 detected

WARN POST Violation [023]:Recommended system resource missing, Soft resource limit nofiles 2448 is recommended, 1024 detected

Management API not yet accessible
Determining platform type: [ FAIL ]
System shutdown complete (Version 10.25.0.208)

Resolution

Important: Changing CRI-O ulimits through a MachineConfig is technically possible but is not supported without a Red Hat Support Exception. The only supported container runtime customization is the ContainerRuntimeConfig custom resource, which does not expose ulimits (as of at least OpenShift 4.21). Feature request: RFE-8904.

Configure CRI-O to supply the required limits to newly created containers, following How to increase open files limits in RHOCP 4.

The intended drop-in content is:

[crio.runtime]
default_ulimits = ["nofile=4096:1048576"]

Preserve other existing default_ulimits entries and check competing drop-ins before adding this setting.

A hard limit of 1048576 equals the default kernel fs.nr_open ceiling, so no sysctl change is needed. To configure a value above 1048576, also raise fs.nr_open with a second MachineConfig, as described in the Red Hat article.

Example worker MachineConfig

Save the following as 96-worker-crio-limit-files.yaml. Confirm the Ignition version against the target OCP release.

apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
  name: 96-worker-crio-limit-files
  labels:
    machineconfiguration.openshift.io/role: worker
spec:
  config:
    ignition:
      version: 3.2.0
    storage:
      files:
        - path: /etc/crio/crio.conf.d/99-eic-nofile.conf
          mode: 420
          overwrite: true
          contents:
            source: "data:,%5Bcrio.runtime%5D%0Adefault_ulimits%20%3D%20%5B%22nofile%3D4096%3A1048576%22%5D%0A"

The data URL encodes the TOML shown above. Mode 420 is decimal for file permissions 0644.

This example targets the worker configuration and can also be inherited by custom worker pools. It changes container defaults on the selected nodes, beyond the Solace pods. If limiting the change to an EIC pool, verify that pool's MachineConfig selector and workload placement.

Apply to an existing cluster

Plan the worker rollout, including draining and rebooting, then apply the reviewed configuration. When applying more than one MachineConfig, pause the pool first so that the nodes reboot only once, as shown in the Red Hat article.

oc apply -f 96-worker-crio-limit-files.yaml
oc get machineconfigpools

Wait until the affected pool reports UPDATED=True, UPDATING=False, and DEGRADED=False. Recreate affected Solace pods if they were not recreated during the rollout, preserving broker availability and persistent volumes.

Include during cluster provisioning

For a new cluster, add the MachineConfig to the openshift directory generated by openshift-install create manifests before creating the cluster.

Root Cause

The immediate failure is a mismatch between the container's effective hard RLIMIT_NOFILE and the Solace startup requirement. Solace documents a minimum hard limit of 1048576 and recommends a soft/hard pair of 4096:1048576 or greater.

Resource limit Observed in the broker logs Proposed setting
Soft nofile 1024 4096
Hard nofile 524288 1048576

Two conditions combine:

  • Trigger: Solace version. EIC 8.48 bundles Solace 10.25, which does not start below a hard limit of 1048576. In the reported case, the previous EIC version ran on the same, unchanged cluster.
  • Precondition: node default. Since CRI-O 1.33, containers receive 1024:524288 unless a CRI-O override sets a higher value. Clusters freshly installed on OpenShift 4.21 or later use this default. Clusters upgraded from 4.20 receive a generated MachineConfig, 00-override-<pool>-generated-crio-default-ulimits, that keeps nofile=1048576 on the master and worker pools only; custom pools are not covered.

Diagnostic Steps

  1. Record the OpenShift release and identify the affected nodes and container names:

    oc get clusterversion version
    oc get pods -n edge-icell-services -o wide
    oc get pod ssb-solace-0 -n edge-icell-services \
     -o jsonpath='{.spec.containers[*].name}'
    
  2. While the broker container is running, replace <broker-container> with its name and inspect the limits:

    oc exec -n edge-icell-services ssb-solace-0 \
     -c <broker-container> -- \
     sh -c 'ulimit -Sn; ulimit -Hn; cat /proc/1/limits'
    

    The shell values show the limits of the exec process. The Max open files entry in /proc/1/limits shows the container's PID 1 limits; the broker startup log remains the evidence of the limits detected by its own check.

  3. If the container exits too quickly, collect its logs, including the previous container instance if present:

    oc logs -n edge-icell-services ssb-solace-0 \
     -c <broker-container> --previous
    
  4. Check for existing CRI-O ulimit overrides, including the generated crio-default-ulimits MachineConfig, and the drop-ins on a hosting node. No default_ulimits entry means containers receive the CRI-O default of 1024:524288:

    oc get machineconfigs | grep crio
    oc debug node/<node-name> -- chroot /host grep -r default_ulimits /etc/crio/
    

    default_ulimits applies to containers, not to the CRI-O process, so /proc/<crio-pid>/limits does not change after the drop-in is applied. Verify the result inside a new container instead.

This solution is part of Red Hat's fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.