From 0dc5d23c85db85f96b141d4d32deee8018e56a6a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 27 Jun 2014 18:57:24 +0200 Subject: coredump: add simple coredump vacuuming When disk space taken up by coredumps grows beyond a configured limit start removing the oldest coredump of the user with the most coredumps, until we get below the limit again. --- man/coredump.conf.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'man/coredump.conf.xml') diff --git a/man/coredump.conf.xml b/man/coredump.conf.xml index 9e4adff46a..e24d958ac4 100644 --- a/man/coredump.conf.xml +++ b/man/coredump.conf.xml @@ -121,6 +121,23 @@ The maximum (uncompressed) size in bytes of a core to be saved. + + + MaxUse= + KeepFree= + + Enforce limits on the disk space taken up by + externally stored coredumps. makes + sure that old coredumps are removed as soon as the total disk + space taken up by coredumps grows beyond this limit (defaults + to 10% of the total disk size). + controls how much disk space to keep free at least (defaults + to 15% of the total disk size). Note that the disk space used + by coredumps might temporarily exceed these limits while + coredumps are processed. Note that old coredumps are also + removed based on on time via + systemd-tmpfiles8. + @@ -129,7 +146,8 @@ See Also systemd-journald.service8, - coredumpctl1 + coredumpctl1, + systemd-tmpfiles8 -- cgit v1.2.1