[oe-commits] Khem Raj : systemd: Fix misc journald memory bugs

git at git.openembedded.org git at git.openembedded.org
Tue Feb 11 11:57:05 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: b1bdc1c6fb6914d85f888acde9d806d5560c84d8
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b1bdc1c6fb6914d85f888acde9d806d5560c84d8

Author: Khem Raj <raj.khem at gmail.com>
Date:   Mon Feb 10 19:33:35 2014 -0800

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 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 ...ournal-Add-missing-byte-order-conversions.patch | 60 ++++++++++++++++
 .../journal-file-protect-against-alloca-0.patch    | 23 ++++++
 ...n-appending-to-journal-file-allocate-larg.patch | 83 ++++++++++++++++++++++
 .../systemd/journald-add-missing-error-check.patch | 16 +++++
 .../systemd/journald-fix-minor-memory-leak.patch   | 16 +++++
 meta/recipes-core/systemd/systemd_208.bb           |  5 ++
 6 files changed, 203 insertions(+)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=b1bdc1c6fb6914d85f888acde9d806d5560c84d8


More information about the Openembedded-commits mailing list