]> code.ossystems Code Review - openembedded-core.git/commit
systemd: Fix misc journald memory bugs
authorKhem Raj <raj.khem@gmail.com>
Tue, 11 Feb 2014 03:33:35 +0000 (19:33 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 11:55:37 +0000 (11:55 +0000)
commitb1bdc1c6fb6914d85f888acde9d806d5560c84d8
treef243b2b5dc7937fff7ba9ff8a93b8716f175e02c
parent2253c9ac2caa61dee0bd4fea04d4d77b79be7b36
systemd: Fix misc journald memory bugs

These set of patches fix journald exhibiting some issues
under load.

One of the prevelant issues is that when appending to journal
it is not able to allocate memory and starts taking 100% cpu
spewing errors like

systemd-journald[2934]: Failed to write entry (19 items, 452 bytes), ignoring: Cannot allocate memory

Other memory issues crept up with time e.g.vacuuming

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd/journal-Add-missing-byte-order-conversions.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/journal-file-protect-against-alloca-0.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/journal-when-appending-to-journal-file-allocate-larg.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/journald-add-missing-error-check.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/journald-fix-minor-memory-leak.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd_208.bb