linuxmint / xfce4-xapp-status-plugin

XappStatus panel applet for Xfce4
11 stars 3 forks source link

Very high CPU usage #8

Closed jamaggs closed 3 weeks ago

jamaggs commented 1 month ago

Hello

Using Mint 22 Xfce on several systems I have a slight problem. The xapp status plugin seems to use lots of CPU - around 25%. This is not always the case - on first login it seems fine and then if I log out and in again or suspend and resume the high CPU usage starts, and also I don't seem to see the gnome network applet any more.

The precise line in my task manager with the high CPU usage is:

/usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libxapp-status-plugin.so 10 25165835 xapp-status-plugin XApp Status Plugin Area where XApp Status icons appear

It's not a massive problem as just uninstalling the plugin solves the issue and the applets seem to still appear. But it took a while to realise why my fan was always spinning and my computer was more sluggish than usual.

I'm unsure if this was also an issue in Mint 21.3.

Many thanks!

James

mndill commented 1 month ago

I can confirm that this happens to me as well. It works well during the first login after booting, but after you log out and then back in the cpu usage goes way up (in my case, 90-100%) and the network manager icon disappears from the status tray.

Update: What appears to happen is that the first process of libxapp-status-plugin fails to terminate when the user logs out. When the user subsequently logs in, a second process is created and the first hogs the cpu. Killing the first process fixes things, but the situation recurs with each logout/login cycle.

billiardmarker commented 1 month ago

Just for completeness, some information from the high cpu usage thread in the Desktops&Window Managers .. Xcfe forum ( [https://forums.linuxmint.com/viewtopic.php?t=424803] ) Xapp Status Plugin consistently goes into a loop using 100% of a cpu core when either the user logs out or the Panel Preferences tool is used to remove the plugin from the panel. The looping process can be removed with a kill -TERM but otherwise will survive the 'owning' user logging out. The removing-from-panel behaviour can be observed in the LM22 Xfce live-install environment. bm