! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfce4-notes 1.8.1-4 using excessive CPU
Status:
RESOLVED: DUPLICATE
Product:
Xfce4-notes-plugin
Component:
General

Comments

Description Larry Johnson 2019-08-22 16:28:17 CEST
Created attachment 8940 
htop showing xfce-notes-plugin

New behavior as of 22-AUG-2019 over 100% continuously. see attachment
xfce version 4.14 archlinux
Comment 1 Larry Johnson 2019-08-22 16:29:33 CEST
Created attachment 8941 
htop showing %CPU ranked
Comment 2 Andre Miranda editbugs 2019-08-24 04:26:04 CEST
Are you sure that's notes-plugin and not the standalone app itself?
Comment 3 Larry Johnson 2019-08-24 16:57:28 CEST
Created attachment 8953 
htop filtered by 'note' showing ranked by %CPU
Comment 4 Larry Johnson 2019-08-24 16:58:19 CEST
Don't know what the standalone app is.

$ ls -lat /var/cache/pacman/pkg/ | grep note
-rw-r--r-- 1 root root     123348 Aug 11 16:33 xfce4-notes-plugin-1.8.1-4-x86_64.pkg.tar.xz
-rw-r--r-- 1 root root     123036 Nov  9  2018 xfce4-notes-plugin-1.8.1-3-x86_64.pkg.tar.xz
Comment 5 Larry Johnson 2019-08-24 17:02:00 CEST
Don't know what the standalone app is.

see attachment for htop filtered by 'note'

$ ls -lat /var/cache/pacman/pkg/ | grep note
-rw-r--r-- 1 root root     123348 Aug 11 16:33 xfce4-notes-plugin-1.8.1-4-x86_64.pkg.tar.xz
-rw-r--r-- 1 root root     123036 Nov  9  2018 xfce4-notes-plugin-1.8.1-3-x86_64.pkg.tar.xz
Comment 6 Larry Johnson 2019-08-27 01:50:07 CEST
notes still misbehaving
Comment 7 Larry Johnson 2019-08-27 01:50:36 CEST
Created attachment 8960 
notes still misbehaving
Comment 8 Theo Linkspfeifer editbugs 2019-08-27 10:42:40 CEST
There is bug 7106 also.
Comment 9 Larry Johnson 2019-08-27 17:11:04 CEST
Per https://bugzilla.xfce.org/show_bug.cgi?id=7106 purging /home/$USER/.config/xfce4/ helped greatly
Comment 10 Andre Miranda editbugs 2019-08-28 18:50:18 CEST
(In reply to Larry Johnson from comment #9)
> Per https://bugzilla.xfce.org/show_bug.cgi?id=7106 purging
> /home/$USER/.config/xfce4/ helped greatly

Maybe this bug is a dup of 7106, can you please use a custom color and check if the cpu usage is affected again? If so, please attach $HOME/.config/xfce4/xfce4-notes.gtkrc and post the output of xfconf-query -c xfce4-panel -p /plugins/notes -lv.

There is a WIP[1] of porting this plugin to gtk3, if this is completed someday maybe this bug and 7106 can get fixed as a side effect.

1 - https://github.com/Skunnyk/xfce4-notes-plugin/commits/gtk3
Comment 11 Larry Johnson 2019-08-28 22:50:36 CEST
I purged a large number of unused files (xfce4-notes.*)  from /home/$USER/.config/xfce4/ and the high CPU usage has stopped as suggested in https://bugzilla.xfce.org/show_bug.cgi?id=7106.

I would consider this bus as remedied or closed.

Thanks & cheers
Comment 12 Andre Miranda editbugs 2019-08-28 22:59:01 CEST
Ok, reopen if this problem reappears.
Comment 13 Larry Johnson 2019-08-29 19:08:56 CEST
It has reappeared. See attached.

[--ljohnson{09:59:48}~]$ xfconf-query -c xfce4-panel -p /plugins/notes -lv
Channel "xfce4-panel" contains no properties.
-----
[--ljohnson{10:00:10}~]$ ls -la .config/xfce4/
total 180
drwxr-xr-x   7 ljohnson users 86016 Aug 29 09:45 .
drwxr-xr-x 116 ljohnson users  4096 Aug 28 13:19 ..
drwx------   2 ljohnson users  4096 Aug 28 12:38 desktop
-rw-r--r--   1 ljohnson users    48 Aug 23  2017 helpers.rc
-rw-r--r--   1 ljohnson users    19 Mar 16 08:06 help.rc
drwx------  18 ljohnson users 36864 Aug 29 09:59 panel
drwx------   2 ljohnson users  4096 Jan 28  2017 terminal
-rw-r--r--   1 ljohnson users   281 Aug 29 09:15 xfce4-notes.gtkrc
-rw-r--r--   1 ljohnson users   281 Aug 28 09:53 xfce4-notes.gtkrc.4XF76Z
-rw-r--r--   1 ljohnson users     0 Aug 27 11:46 xfce4-notes.gtkrc.6IF26Z
-rw-r--r--   1 ljohnson users   281 Aug 28 14:06 xfce4-notes.gtkrc.MWSG7Z
-rw-r--r--   1 ljohnson users   138 Aug 27 08:01 xfce4-notes.rc
-rw-r--r--   1 ljohnson users    90 Aug 29 09:45 xfce4-screenshooter
-rw-r--r--   1 ljohnson users   464 Jun  2 11:00 xfce4-taskmanager.rc
drwxr-xr-x   3 ljohnson users  4096 Jun  1  2015 xfconf
drwx------   2 ljohnson users  4096 Jun  1  2015 xfwm4
Comment 14 Larry Johnson 2019-08-29 19:09:59 CEST
Created attachment 8968 
htop high CPU xfce-notes
Comment 15 Andre Miranda editbugs 2019-08-29 19:18:23 CEST
(In reply to Larry Johnson from comment #13)
> It has reappeared. See attached.
> -rw-r--r--   1 ljohnson users   281 Aug 29 09:15 xfce4-notes.gtkrc
> -rw-r--r--   1 ljohnson users   281 Aug 28 09:53 xfce4-notes.gtkrc.4XF76Z
> -rw-r--r--   1 ljohnson users     0 Aug 27 11:46 xfce4-notes.gtkrc.6IF26Z
> -rw-r--r--   1 ljohnson users   281 Aug 28 14:06 xfce4-notes.gtkrc.MWSG7Z
> -rw-r--r--   1 ljohnson users   138 Aug 27 08:01 xfce4-notes.rc

Please post the content of the files above (remove sensitive data if any).
Comment 16 Larry Johnson 2019-08-31 04:10:06 CEST
Created attachment 8971 
xfce4-notes.gtkrc
Comment 17 Larry Johnson 2019-08-31 04:11:38 CEST
Done
Comment 18 Larry Johnson 2019-08-31 04:12:39 CEST
Created attachment 8972 
xfce4-notes.gtkrc.4XF76Z
Comment 19 Larry Johnson 2019-08-31 04:15:51 CEST
..
Comment 20 Larry Johnson 2019-08-31 04:18:48 CEST
Unable to attach additional files
Comment 21 Larry Johnson 2019-08-31 04:20:35 CEST
Created attachment 8973 
zipped files
Comment 22 Andre Miranda editbugs 2019-09-01 23:53:12 CEST
(In reply to Larry Johnson from comment #21)
> Created attachment 8973 
> zipped files

Even with those files in place I couldn't reproduce the CPU spike, I also tried to set a custom background color and restart the system, no luck.

My last shot: please try another gtk theme.
Comment 23 Juan Simón 2020-01-04 09:20:29 CET
Duplicate of bug 7106 that has been unsolved since 2011!
Comment 24 Larry Johnson 2020-01-04 14:29:56 CET
Created attachment 9350 
Screenshot runaway notes process

At least once per day I have to kill this runaway notes process.

Unseemly
Comment 25 Andre Miranda editbugs 2020-01-05 18:23:28 CET
Closing in favor of Bug 7106.
Larry, please subscribe to that bug for further updates (please try another theme).

*** This bug has been marked as a duplicate of bug 7106 ***

Bug #15870

Reported by:
Larry Johnson
Reported on: 2019-08-22
Last modified on: 2020-01-05

People

Assignee:
Mike Massonnet
CC List:
3 users

Version

Version:
unspecified

Attachments

htop showing xfce-notes-plugin (48.76 KB, image/png)
2019-08-22 16:28 CEST , Larry Johnson
no flags
htop showing %CPU ranked (43.49 KB, image/png)
2019-08-22 16:29 CEST , Larry Johnson
no flags
htop filtered by 'note' showing ranked by %CPU (46.20 KB, image/png)
2019-08-24 16:57 CEST , Larry Johnson
no flags
notes still misbehaving (132.48 KB, image/png)
2019-08-27 01:50 CEST , Larry Johnson
no flags
htop high CPU xfce-notes (84.02 KB, image/png)
2019-08-29 19:09 CEST , Larry Johnson
no flags
xfce4-notes.gtkrc (281 bytes, application/octet-stream)
2019-08-31 04:10 CEST , Larry Johnson
no flags
xfce4-notes.gtkrc.4XF76Z (281 bytes, text/plain)
2019-08-31 04:12 CEST , Larry Johnson
no flags
zipped files (1.33 KB, application/octet-stream)
2019-08-31 04:20 CEST , Larry Johnson
no flags
Screenshot runaway notes process (74.01 KB, image/png)
2020-01-04 14:29 CET , Larry Johnson
no flags

Additional information