chiark / gitweb /
journal: automatically rotate journal files if the data hash table is full > 75%
authorLennart Poettering <lennart@poettering.net>
Mon, 16 Jul 2012 20:24:02 +0000 (22:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 16 Jul 2012 22:59:03 +0000 (00:59 +0200)
commitdca6219e04505e9fa10b32e71059ce2abfae1dad
tree29b7c20c60afa197e471d2ed8a44cca92cc68249
parent7653b3c29adbad9d299fe9ff09ed30fbcc606acc
journal: automatically rotate journal files if the data hash table is full > 75%

Previously, when the main data hash table grows too full the performance
simply started to decrease drastically. Instead, now simply rotate to a
new journal file as the hash table gets to full, so that we can start
with a new fresh empty hash table.
man/journalctl.xml
src/journal/journal-def.h
src/journal/journal-file.c
src/journal/journal-file.h
src/journal/journal-internal.h
src/journal/journalctl.c
src/journal/journald.c
src/journal/sd-journal.c