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:56:56 +0000 (11:56 +0000)
commita3f5da8b507ce3d741f8d6c5ee6fe78649f88c7e
tree4c5da3d89678614df3c741f8f239bed7ceba4b77
parentae521400cbf7161a28607ec402c742b406a928d0
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

(From OE-Core rev: b1bdc1c6fb6914d85f888acde9d806d5560c84d8)

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