Skip to content

[beats receivers] Memory usage calculated by Fleet when using beats receivers is lower than expected #10276

@cmacknz

Description

@cmacknz

This test was done using 9.2.0-SNAPSHOT with with Elastic Agent self-monitoring using beats receivers and the system integration using the process runtime on Ubuntu 24.04.

systemctl status shows Elastic Agent using 521.3M of memory.

ubuntu@oriented-leafcutter:~/elastic-agent-9.2.0-SNAPSHOT-linux-arm64$ systemctl status elastic-agent
● elastic-agent.service - Elastic Agent is a unified agent to observe, monitor and protect your system.
     Loaded: loaded (/etc/systemd/system/elastic-agent.service; enabled; preset: enabled)
     Active: active (running) since Thu 2025-10-02 16:57:07 EDT; 4min 10s ago
   Main PID: 78275 (elastic-agent)
      Tasks: 32 (limit: 1059)
     Memory: 521.3M (peak: 609.0M)
        CPU: 4.087s
     CGroup: /system.slice/elastic-agent.service
             ├─78275 /opt/Elastic/Agent/elastic-agent
             ├─78291 /opt/Elastic/Agent/data/elastic-agent-9.2.0-SNAPSHOT-e917e0/elastic-agent otel --supervised --s>
             ├─78296 /opt/Elastic/Agent/data/elastic-agent-9.2.0-SNAPSHOT-e917e0/components/agentbeat filebeat -E se>
             └─78304 /opt/Elastic/Agent/data/elastic-agent-9.2.0-SNAPSHOT-e917e0/components/agentbeat metricbeat -E >

Fleet calculates agent as using 205M of memory:

Image

The Elastic Agent metrics dashboards shows Fleet is correctly calculating the memory usage based on the information that it has, the values are just lower that what Linux reports via systemctl.

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions