mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
958ef69295
The systemd journal has a known issue of generating large size logs[1], which makes it unreliable as a source for retrieving system information, such as for counting reboot times. This is particularly problematic on disk-constrained systems, like the VMs we launched for our integration tests, where the disk size is normally 2GB. By default, the systemd journal has a size limit of 10% of the size of the underlying file system (e.g. around 200MB for the VMs of our integration tests), which would remove archived journal files on demand. A better alternative to count reboot times is based on information from `wtmp` (e.g. the login records) which is much more concise and can be accessed via the `last` command. [1] https://github.com/systemd/systemd/issues/5285 Fixes: #4749 Signed-off-by: Bo Chen <chen.bo@intel.com> |
||
---|---|---|
.. | ||
integration.rs |