https://bugs.kde.org/show_bug.cgi?id=494632

            Bug ID: 494632
           Summary: systemd: prevent broken apps from spamming the journal
    Classification: Plasma
           Product: plasmashell
           Version: 6.1.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Startup process
          Assignee: plasma-b...@kde.org
          Reporter: peter.eszl...@gmail.com
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

SUMMARY
A broken app can spam systemd's journal with too many messages.

STEPS TO REPRODUCE
1. install Google Chrome (129.0.6668.100)
2. start Chrome and open "chrome://flags" and set "Preferred Ozone platform" to
"Auto"
3. open konsole with: $ journalctl -f
4. watch a web video in Chrome

OBSERVED RESULT
systemd's journal gets spammed 100 times per second with:

Okt 12 01:43:54 xxx google-chrome-stable[48687]:
[48908:3:1012/014354.205523:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to
mmap dmabuf: Invalid argument (22)
Okt 12 01:43:54 xxx google-chrome-stable[48687]:
[48908:3:1012/014354.205660:ERROR:client_shared_image.cc(146)] Failed to map
the buffer.

When I noticed this, I already had ~1,000,000 entries in the journal.

EXPECTED RESULT
Above a certain number of messages per second, an app should be blocked from
spamming systemd's journal.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-8-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 960/PCIe/SSE2

ADDITIONAL INFORMATION
systemd per unit journal rate limiting:
https://github.com/systemd/systemd/pull/10308

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to