LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CPU 100% all times (https://www.linuxquestions.org/questions/linux-newbie-8/cpu-100-all-times-4175538811/)

eliassal 04-05-2015 09:09 AM

CPU 100% all times
 
Since a several days, I started to notice that my Fedora 20 is very slow, I ma using KDE and not Gnome. Wgen I fire system nonitor, I see RAM is around 60%, CPU shooting constantly 100 to 99%.

I opened a command line, ran top, getting "system-config-s" constantly not less than 95%

Quote:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
64461 root 20 0 278248 85492 1996 R 95.3 3.7 1268:43 system-config-s
36584 salam 20 0 244620 95068 14548 S 1.7 4.1 1:54.07 Xvnc
24814 root 20 0 297548 10460 3880 S 1.0 0.5 0:17.24 xrdp
20805 salam 20 0 636160 30136 24600 S 0.7 1.3 0:00.50 gnome-terminal-
21555 salam 20 0 123656 2940 2420 R 0.3 0.1 0:00.30 top
1 root 20 0 50960 8344 5324 S 0.0 0.4 4:12.21 systemd

.....
....
Thanks for your help

suicidaleggroll 04-05-2015 09:24 AM

You need to get the full name of the process, "system-config-s" is truncated. Get the PID and then run "ps -fp PID" to get the full name. For example, in your output above, the PID is 64461, so you would run "ps -fp 64461".

Did you have any programs open when you ran "top"?

Also use [code] tags, not [quote] tags in order to maintain formatting when posting output here.

eliassal 04-05-2015 10:40 AM

Thanks, here is the output

root 64461 1 90 Apr04 ? 22:26:57 /usr/bin/python /usr/share/system-config-services/system-config-services-mechanism.py

Yes, there were other programs running at the same time (Firefox, gedit)

btmiller 04-05-2015 11:15 AM

I don't use Fedora at all, but system-config-services is, like the name indicates, a graphical service configuration tool. Do you see a window for it on your desktop? Do you remember running a service configuration tool (e.g. to enable to daemon to start at boot time) recently? If not, I usually figure it's some sort of buggy process that keeps running. My usual first course of action is to try to kill it (and then use "kill -9" if that doesn't work). If it goes away and doesn't come back, it's usually just a buggy program that got out of control...

DJ Shaji 04-05-2015 03:49 PM

Hi. When the daemons get out of control you have to kill them.
Code:

killall system-config-services-mechanism.py
But they may respawn. You have to erase them altogether to get rid of them.

Code:

yum erase system-config-services
Daemons which cannot be controlled by their parents become zombies. The only way to get rid of them is to kill them or erase them. Haven't you ever seen the Walking Dead?

eliassal 04-05-2015 05:02 PM

Yes I have run KDE services configuration, when I saw this, I rebooted, but still see this process in spite of the fact that I did not run any config applet

btmiller 04-05-2015 10:13 PM

Is it still consuming 100 of the CPU? It might be something that's supposed to run in the background...

eliassal 04-06-2015 03:56 AM

After doing
sudo killall system-config-services-mechanism.py
CPU usage went down to 30-35


All times are GMT -5. The time now is 02:04 AM.