coredump: add simple coredump vacuuming

System Internals / systemd - Lennart Poettering [poettering.net] - 27 June 2014 12:35 UTC

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.

0dc5d23 coredump: add simple coredump vacuuming
.gitignore | 1 +
Makefile.am | 16 ++-
man/coredump.conf.xml | 20 ++-
src/journal/coredump-vacuum.c | 272 ++++++++++++++++++++++++++++++++++++
src/journal/coredump-vacuum.h | 26 ++++
src/journal/coredump.c | 39 ++++--
src/journal/coredump.conf | 2 +
src/journal/test-coredump-vacuum.c | 32 +++++
8 files changed, 393 insertions(+), 15 deletions(-)

Upstream: github.com


  • Share