Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-09-17 06:46:46

WangMingJue
Member
Registered: 2021-09-17
Posts: 2

xfsettingsd and xfdesktop run with 100% CPU usage

I run xfce in docker container.
when I create it, it's normolly.
But after 2~4 day, while I didn't do anything.
xfsettingsd and xfdesktop run with 100% CPU usage!

bash-4.2# xfsettingsd --version
xfsettingsd 4.12.1 (Xfce 4.12)

Copyright (c) 2008-2011
        The Xfce development team. All rights reserved.

Please report bugs to <http://bugzilla.xfce.org/>.


bash-4.2# /usr/lib64/xfce4/xfconf/xfconfd --version
Xfconfd 4.12.0


bash-4.2# xfdesktop --version
This is xfdesktop version 4.12.4, running on Xfce 4.12.
Built with GTK+ 2.24.31, linked with GTK+ 2.24.31.
Build options:
    Desktop Menu:        enabled
    Desktop Icons:       enabled
    Desktop File Icons:  enabled
 
# top
PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                           
  129 root      20   0 2418108 591132  12748 S  97.7  0.1   2016:16 xfsettingsd                                                                                       
  128 root      20   0 2085144 434340  17560 R  69.0  0.1   1380:48 xfdesktop   
# ps -aux
root       128 32.0  0.1 2068752 434420 ?      Rl   Sep14 1381:31 xfdesktop
root       129 46.7  0.1 2426436 591208 ?      Rsl  Sep14 2017:12 xfsettingsd

what can I do?

Offline

#2 2021-09-17 23:59:09

File Manager
Member
Registered: 2019-11-01
Posts: 62

Re: xfsettingsd and xfdesktop run with 100% CPU usage

WangMingJue wrote:

I run xfce in docker container.
when I create it, it's normolly.
But after 2~4 day, while I didn't do anything.
xfsettingsd and xfdesktop run with 100% CPU usage!

what can I do?

Try a newer version of Xfce?

Offline

#3 2021-09-19 01:02:41

WangMingJue
Member
Registered: 2021-09-17
Posts: 2

Re: xfsettingsd and xfdesktop run with 100% CPU usage

File Manager wrote:
WangMingJue wrote:

I run xfce in docker container.
when I create it, it's normolly.
But after 2~4 day, while I didn't do anything.
xfsettingsd and xfdesktop run with 100% CPU usage!

what can I do?

Try a newer version of Xfce?

I want to know why it happened? Can you get me some suggest?

Offline

#4 2021-09-22 22:18:39

File Manager
Member
Registered: 2019-11-01
Posts: 62

Re: xfsettingsd and xfdesktop run with 100% CPU usage

WangMingJue wrote:

I want to know why it happened? Can you get me some suggest?

It seems xfdesktop is running as root.
Maybe some processes don't like running as root.

Offline

#5 2021-09-27 03:54:02

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: xfsettingsd and xfdesktop run with 100% CPU usage

as root it might be trying to do things on a wider scale since it has access to everything.  or maybe some other program it tries to run refuses to be root and exits.  then it runs it again. over and over and over ... as fast as it can.  i do agree that running as root is bad in so many ways.  i do have a root shell i run but it's in an instance of xfce4terminal running as user "admin" which is running as much Xfce as all my other users.  no Xfce process runs as root.  no GUI app runs as root.

Last edited by Skaperen (2021-09-27 03:54:29)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 532.61 KiB (Peak: 533.23 KiB) ]