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

            Bug ID: 389132
           Summary: plasmashell's notification history seems to have no
                    upper limit
           Product: plasmashell
           Version: 5.11.5
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Notifications
          Assignee: k...@privat.broulik.de
          Reporter: kdeb...@fratti.ch
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

It appears that plasmashell's notification history does not have an upper
limit, which means that buggy applications may accidentally OOM the system
through plasmashell by creating a lot of notifications.

In my case, qBittorrent spams a notification for every IOError it encounters
(happens quite often when you accidentally disconnect the external drive),
which quickly leads to plasmashell's memory usage ballooning in size to several
gigabytes.

plasmashell could enforce a per-PID maximum number of notifications that it
keeps in its history to prevent this from happening, discarding old
notifications as new ones come in if the limit is reached.

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

Reply via email to