systemd-journal consume a lot of memory

Ralf Mardorf kde.lists at yahoo.com
Fri Sep 4 03:24:46 UTC 2020


On Fri, 4 Sep 2020 10:11:05 +0800, Tom Black wrote:
>I saw the process "systemd-journal" consumes a lot of memory from the 
>output of "top".
>
>Can you suggest how to optimize it? can I just kill this process?

Hi,

"Description

systemd-journald is a system service that collects and stores logging
data." -
https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html

Much likely systemd-journald requires that much memory, because it
collects a huge amount of logging data. If so, you need to get rid of
the issue that does cause the huge amount of data. The culprit unlikely
is journald-systemd, it most likely is an issue with something else and
journald-systemd does what it is purposed to do, collecting and writing
the logging data.

What logs do you see, if you are using journalctl?

https://www.freedesktop.org/software/systemd/man/journalctl.html#

Regards,
Ralf






More information about the ubuntu-users mailing list