OneAgent files and disk space requirements on Linux
This page provides information about the OneAgent directory structure and disk space requirements for OneAgent full-stack installation and updates. Note that exact values may vary based on OneAgent version.
OneAgent directories and their sizes
Linux (x86) | Linux (ppcle) | Linux (s390) | Default directory | Can be modified? | |
---|---|---|---|---|---|
Size of installation | ~1 GB | 410 MB | 145 MB | /opt/dynatrace/oneagent |
Yes1 |
Persistent configuration | ~5 MB | ~5 MB | ~5 MB | /var/lib/dynatrace/oneagent/agent/config |
No |
Temporary files, runtime configuration | 200 MB | 200 MB | 200 MB | /var/lib/dynatrace/oneagent/agent/runtime |
No |
Logs | 1 GB | 1 GB | 1 GB | /var/log/dynatrace/oneagent 2 |
No |
Crash reports, memory dumps | 3 GB | 3 GB | 3 GB | /var/lib/dynatrace/oneagent/datastorage |
Yes3 |
Additional space required for updates | 1.9 GB | 728 MB | 226 MB | ||
Total | 7.1 GB | 5.3 GB | 4.6 GB |
1 Use the INSTALL_PATH installation parameter.
2 For OneAgent version 1.201 and earlier, the default location for log files is /opt/dynatrace/oneagent/log
.
3 Use the DATA_STORAGE installation parameter.
For a complete list of files and directories added to your system by OneAgent, see OneAgent security on Linux.
OneAgent files aging mechanism
OneAgent in full-stack monitoring mode uses a built-in aging mechanism to ensure that the OneAgent files, including log files and runtime data, are kept within a reasonable size. For more information, see OneAgent file aging mechanism].
Dynatrace Managed self-monitoring
OneAgent self-monitoring for Dynatrace Managed requires 4.8 GB of disk space on Linux. For more information, see the directory structure of Dynatrace Managed.
How we calculate space required for updates
When calculating the space required for updates, we take into account the installer file size and the size of the installation process, that is the space required to deploy OneAgent files.
Linux (x86) | Linux (ppcle) | Linux (s390) | |
---|---|---|---|
Installer file size | 175 MB | 63 MB | 27 MB |
Installation process size | 1.54 GB | 600 MB | 226 MB |
Additional space required for updates is calculated using the 10% safety margin:
(installer file size + size of the installation process) * 1.1
Size of the installation process
The size of the installation process is calculated as follows:
3 * installer file size + size of the installation
The installer size must be multiplied by 3 to account for:
- Downloaded installer file (
/var/lib/dynatrace/oneagent
) - Archive, which is separated from the installer script (
/opt/dynatrace/oneagent
) - Unpacked external TAR (
/opt/dynatrace/oneagent
)
In terms of space requirements, there's no real difference between manual installation of the new version (when an older version is already installed), automatic update, and updates that are triggered by restarting the OneAgent container. In all these cases, the installation process is performed exactly the same way. What differs is the method through which the update is triggered.