summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/journald.conf.xml2
-rw-r--r--src/journal/journal-file.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/man/journald.conf.xml b/man/journald.conf.xml
index 0b9de65fe3..6d54c94b57 100644
--- a/man/journald.conf.xml
+++ b/man/journald.conf.xml
@@ -246,7 +246,7 @@
configured in
<varname>SystemMaxUse=</varname> and
<varname>RuntimeMaxUse=</varname> is
- available. Defaults to 5% of the size
+ available. Defaults to 15% of the size
of the respective file
system. <varname>SystemMaxFileSize=</varname>
and
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index 876224dc9f..f0be24c85c 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -2769,7 +2769,7 @@ void journal_default_metrics(JournalMetrics *m, int fd) {
if (m->keep_free == (uint64_t) -1) {
if (fs_size > 0) {
- m->keep_free = PAGE_ALIGN(fs_size / 20); /* 5% of file system size */
+ m->keep_free = PAGE_ALIGN(fs_size * 3 / 20); /* 15% of file system size */
if (m->keep_free > DEFAULT_KEEP_FREE_UPPER)
m->keep_free = DEFAULT_KEEP_FREE_UPPER;