panel-6-indicat uses 25% CPU

Bug #1582878 reported by Romik Forest
This bug report is a duplicate of:  Bug #1583164: Panel Indicator uses 25% cpu. Edit Remove
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xfce4 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu Studio 16.04 LTS, 4.4.0-22-lowlatency, xfce4 4.12
top always shows 25% cpu used by panel-6-indicat
killing the panel-6-indicat doesn't help

Revision history for this message
Romik Forest (forest-software) wrote :

$ top
  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 2183 romik 20 0 446808 35028 26832 S 21,3 0,9 2:21.52 panel-6-indicat

$ ps ax | grep panel
 2183 ? Rl 0:43 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libindicator-plugin.so 6 16777271 indicator Индикаторы Предоставляет место на панели для индикаторов Unity. Индикаторы позволяют приложениям и системным сервисам показывать свой статус и взаимодействовать с пользователем.

$ dpkg -S /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libindicator-plugin.so
xfce4-indicator-plugin: /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libindicator-plugin.so

$ apt-cache show xfce4-indicator-plugin
Package: xfce4-indicator-plugin
Priority: optional
Section: universe/xfce
Installed-Size: 370
Maintainer: Xubuntu Developers <email address hidden>
Original-Maintainer: Debian Xfce Maintainers <email address hidden>
Architecture: amd64
Version: 2.3.3-0ubuntu4
Provides: indicator-renderer
Depends: libc6 (>= 2.4), libdbus-glib-1-2 (>= 0.78), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.6), libido3-0.1-0 (>= 13.10.0daily13.06.19), libindicator3-7 (>= 0.4.90), libxfce4panel-2.0-4 (>= 4.11.0), libxfce4ui-2-0 (>= 4.11.0), libxfce4util7 (>= 4.9.0), libxfconf-0-2 (>= 4.6.0), upstart
Filename: pool/universe/x/xfce4-indicator-plugin/xfce4-indicator-plugin_2.3.3-0ubuntu4_amd64.deb
Size: 60824
MD5sum: ab1d273990915238c7fca0ea67c074f5
SHA1: ca96db3e21960cf1b36b66a444368e7749c4dc3d
SHA256: 2c1a4193aa68dfce9bcb4f37ea663d245815ee85457d7eb8f2d16fded72e90fa
Description-ru: модуль отображения информации от приложений на панели Xfce4
 Небольшое расширение для последовательного отображения информации от
 различных приложений в панели Xfce4 по правилам описанным в спецификации
 Ubuntu MessagingMenu design.
Description-md5: 9840efa394a05eab71be8c0a6217040f
Homepage: http://goodies.xfce.org/projects/panel-plugins/xfce4-indicator-plugin/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 3y
Task: xubuntu-core, xubuntu-desktop, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, ubuntustudio-desktop-core, ubuntustudio-desktop

P.S. I use xfce4 + compiz

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xfce4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Jakub Vaněk (vanek-jakub4) wrote :

It's the same here on Xubuntu 16.04 (without compositor). I managed to lower the CPU usage by killing indicator-application-service in a loop:

for((;;)) do killall indicator-application-service; done

After a few seconds press Ctrl+C.

This is duplicate of https://bugs.launchpad.net/ubuntu/+source/xfce4-indicator-plugin/+bug/1583164

Revision history for this message
TBeholder (turbobeholder) wrote :

If non-essential processes load CPU, you can just drop their priority and let them.
Here's my shell script from the time more XFCE plugins were voracious - save this where you can find it, make sure the file is executable, then add "<your path>/leash_cpuhogs.sh" in Application Autostart tab in Session and Startup - those seem to run after enforced session applications proper, so unless there are more slowing bugs, it will work (otherwise "sleep 10" line at the start should do the trick).
To see what exactly is done just uncomment diagnostics and start it from terminal.

#!/bin/sh
NEWPRIORITY=8
HOGNAMES="libindicator"
# it's a regexp, so add more as "(libindicator|libcpugraph|whatever)"

# ps xao %p%a | grep -iP $HOGNAMES | grep -v "logout" | grep -v "grep"
HOGLIST=`ps xao %p%a | grep -iP $HOGNAMES | grep -v "logout" | grep -v "grep" | grep -o "^\s*[0-9]*"`
echo "$HOGLIST" | while read thisproc
do
# echo deprioritizing $thisproc
 renice -n $NEWPRIORITY -p $thisproc
done

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.