]> git.ipfire.org Git - thirdparty/systemd.git/commit
journald: periodically drop cache for all dead PIDs 11530/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 22 Jan 2019 16:30:48 +0000 (17:30 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 26 Jan 2019 11:43:27 +0000 (12:43 +0100)
commit91714a7f427a6c9c5c3be8b3819fee45050028f3
tree68a57094458126e6b179aa27dd0e2ff00392eb88
parentb12a480829c5ca8f4d4fa9cde8716b5f2f12a3ad
journald: periodically drop cache for all dead PIDs

In normal use, this allow us to drop dead entries from the cache and reduces
the cache size so that we don't evict entries unnecessarily. The time limit is
there mostly to serve as a guard against malicious logging from many different
PIDs.
src/journal/journald-context.c
src/journal/journald-server.h