There has been a fix to a large memory leak in systemd-journald v240. I believe that the buildroot LTS versions is affected. Should the patch provided in the bug report be applied to the LTS branch? Bug report: https://github.com/systemd/systemd/issues/11502 Accepted patch: https://github.com/systemd/systemd/pull/11527 Alternatively, this fix has been incorporated into systemd v241, which has been incorporated into buildroot's master branch already. So another solution would be to move buildroot LTS to use systemd v241.
Thanks for the report, can you please send a git formatted patch to the mailing list with the upstream fix?
The upstream patch didn't apply cleanly to v240. I'm happy to look into it more, but it wasn't as trivial as "git cherry-pick" and I was not sure whether anyone has a preference for v241 verses an unofficial patch on v240.
There are way too many changes between v240 and v241 to just bump the version in the stable branch. So please backport the patch, thanks. Actually, I think it's sufficient to take commit 2d5d2e0cc5 in addition to eb1ec489ee.
Thanks, I submitted a patch to the list covering the addition of commit 2d5d2e0cc5 in addition to eb1ec489ee.
Fixed in git by https://git.buildroot.org/buildroot/commit/?id=ae43e724e84dde358320775ba7423619b78d1839, thanks!