Filesystem fills up due to podman logging console output to ctrl.log without limits
This document (000019954) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Enterprise Storage 7
Situation
Resolution
[containers]
log_size_max=10485760
to set a maximum log size of 10 MiB. Afterwards, restart all containers to activate the change.
Cause
Status
Additional Information
Removing ctr.log manually or by logrotate doesn't free any space, as podman keeps ctr.log open the entire time and thus only the directory entry gets removed with podman continues to log to the open file descriptor.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000019954
- Creation Date: 28-Apr-2021
- Modified Date:30-Apr-2021
-
- SUSE Enterprise Storage
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com