Skip to content

Large number of notifications slow down whole panel #237

Description

@minhdanh

What Happened?

At boot wingpanel would take about nearly 1 miniute to appear (when the dock and desktop has appeared). After that it randomly becomes very slow to respond to click (to application menu, time and date, or power icon), may be 5 minutes after the click.
At this moment when checking htop, I can see it's consuming a high amount of CPU:

image

(The CPU of wingpanel is actually always 100% when it doesn't respond)

Steps to Reproduce

It happens at boot time, and randomly becomes slow to respond after that. I'm not sure how to find a consistence way to reproduce.

Expected Behavior

Wingpanel displays as soon the desktop is shown, and respond quickly to mouse click (and ctrl space)

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

I tried to use this command:

killall io.elementary.wingpanel && io.elementary.wingpanel


And could see these lines (new lines keep being added):
```shell
(io.elementary.wingpanel:386011): io.elementary.wingpanel.notifications-CRITICAL **: 10:18:23.729: NotificationEntry.vala:79: Unable to mask image: Failed to open file “/tmp/wingpanel-G0N6D1.png”: No such file or directory

(io.elementary.wingpanel:386011): io.elementary.wingpanel.notifications-CRITICAL **: 10:18:23.739: NotificationEntry.vala:79: Unable to mask image: Failed to open file “/tmp/wingpanel-UYK2D1.png”: No such file or directory

(io.elementary.wingpanel:386011): io.elementary.wingpanel.notifications-CRITICAL **: 10:18:23.749: NotificationEntry.vala:79: Unable to mask image: Failed to open file “/tmp/wingpanel-V0V7D1.png”: No such file or directory

(io.elementary.wingpanel:386011): io.elementary.wingpanel.notifications-CRITICAL **: 10:18:23.760: NotificationEntry.vala:79: Unable to mask image: Failed to open file “/tmp/wingpanel-7T53D1.png”: No such file or directory

(io.elementary.wingpanel:386011): io.elementary.wingpanel.notifications-CRITICAL **: 10:18:23.770: NotificationEntry.vala:79: Unable to mask image: Failed to open file “/tmp/wingpanel-2RQ9D1.png”: No such file or directory

(io.elementary.wingpanel:386011): io.elementary.wingpanel.notifications-CRITICAL **: 10:18:23.970: NotificationEntry.vala:79: Unable to mask image: Failed to open file “/tmp/wingpanel-SD13D1.png”: No such file or directory

(io.elementary.wingpanel:386011): io.elementary.wingpanel.notifications-CRITICAL **: 10:18:23.984: NotificationEntry.vala:79: Unable to mask image: Failed to open file “/tmp/wingpanel-Y6B7D1.png”: No such file or directory

(io.elementary.wingpanel:386011): io.elementary.wingpanel.notifications-CRITICAL **: 10:18:24.000: NotificationEntry.vala:79: Unable to mask image: Failed to open file “/tmp/wingpanel-IT4UD1.png”: No such file or directory

(io.elementary.wingpanel:386011): io.elementary.wingpanel.notifications-CRITICAL **: 10:18:24.022: NotificationEntry.vala:79: Unable to mask image: Failed to open file “/tmp/wingpanel-KAWPD1.png”: No such file or directory

(io.elementary.wingpanel:386011): io.elementary.wingpanel.notifications-CRITICAL **: 10:18:24.677: NotificationEntry.vala:79: Unable to mask image: Failed to open file “/tmp/wingpanel-IWOJB1.png”: No such file or directory

(io.elementary.wingpanel:386011): io.elementary.wingpanel.notifications-CRITICAL **: 10:18:24.711: NotificationEntry.vala:79: Unable to mask image: Failed to open file “/tmp/wingpanel-VPI9D1.png”: No such file or directory

(io.elementary.wingpanel:399121): io.elementary.wingpanel.bluetooth-CRITICAL **: 10:23:42.919: Manager.vala:58: Error calling StartServiceByName for org.bluez: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
** Message: 10:25:45.733: DBusService.vala:64: Service registration suceeded

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions