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

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


On Fri, Jun 21, 2013 at 05:31:13PM +0200, Holger Hans Peter Freyther wrote:

> 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.

I just read Lennart's mail and found the relevant code to limit the
number of windows to WINDOWS_MIN (64, so 65 windows) and
context_attach_window will put the old window in the last_unused.

The only way to allocate more windows is to have more contexts than
WINDOWS_MIN?



More information about the systemd-devel mailing list