[systemd-devel] Excessive (virtual) memory usage of journald

Holger Hans Peter Freyther holger at freyther.de
Fri Jun 21 08:31:13 PDT 2013


On Fri, Jun 21, 2013 at 04:19:30PM +0200, Kay Sievers wrote:

> I have no idea why you care what the journald process does with its
> very own 2+GB of address space, and why it uses 128MB of it.

I care about whether or not journald will work reliable on an
unattended system. And from what I see there is no limit in the
mmap cache. This means that journald can potentially exhaust the
virtual address space. Will it happen? I don't know, time will
tell.

E.g. the test-mmap-cache.c does not test if the freeing of windows
(make_room) in case of a failed MMAP_FAILED. When was the last
time this code got tested/executed?


More information about the systemd-devel mailing list