otel-collector process being managed by opamp-supervisor, which lacks a default memory cap. This causes memory to grow significantly when platform logging is configured.otel-collector process:In EAR 10.4.x, the otel-collector process is managed by the opamp-supervisor BPM file. Unlike previous versions where the otel-collector was standalone and capped at 768MB, the opamp-supervisor configuration lacks this memory limit, causing unrestricted growth.
This is fixed in EAR 10.4.4 patch release.
Apply memory limits to the opamp-supervisor process and the otel-collector pipeline.
/var/vcap/jobs/opamp-supervisor/config/bpm.yml.limits: processes: 1024 memory: 832Mib <-- new line /var/vcap/jobs/otel-collector/config/config.yml to add the following processors if not already configured:processors: memory_limiter: check_interval: 1s limit_mib: 614 spike_limit_mib: 153 batch: logs/cf-internal-platform-logs: exporters: - ... processors: - memory_limiter - batch receivers: - filelog/cf-internal-component-logs - filelog/cf-internal-syslogopamp-supervisor monit process:monit restart opamp-supervisor
If you require further assistance or the issue persists after applying the workaround, reach out to Broadcom Support. To speak with a customer representative or a Support Engineer see . Scroll to the bottom of the page and click on your respective region.