New Machine, New Fedora 25 Install - High CPU Usage
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How is the system operationally? Is it slow? Is it seeming to perform OK?
Are you using the program top(1) to make this determination? Or how are you determining CPU usage by the gnome-shell?
It may be a bug in one of the software applications running. Such as some applications if written poorly can take 100% of the CPU, "by measurement", in other words, when they're not working at things they are supposed to yield the CPU time for other processes. Some applications can be written to yield, but then also take all remaining free time, still doing absolutely nothing. And as a result, they measure high CPU usages. It is a bad thing still even if it has no immediate system impact.
Are you familiar with console logins? They are accessible when you type any of CTRL-ALT-F1, or F2, F3, F4, .. up to F6 and then CTRL-ALT-F8 will get you back to your desktop. From these logins you can do things like kill your X server session, or kill just the offending application, however also verify that it stays stopped because there may be a daemon monitoring it and restarting it, for gnome-shell it likely would restart. However you can check to see if this frees up CPU time or not, albeit temporarily.
Another command to use would be w(1) to show the CPU loading. And as follow up there it also would be helpful to know how many CPU cores your system has by looking at the output of /proc/cpuinfo.
These are just some thoughts on things to check, unsure exactly why this is occurring on your system.
First, let me thank you for your reply. Wasted quite a few hours and getting frustrated!
Yes, top returns the same info "gnome-shell" using sometimes in excess of %100 CPU. There are no applications running other than the graphical UI. I can boot the machine repeatedly and immediately see the problem.
/proc/cpuinfo returns "Permission denied", even though I am logged in as root. The cpu is supposed to be a 4-core processor.
syq00: CPU is always showing over 95%, but from second to second the number will fluctuate wildly, up to over 700%. So, this is real data, but not stable data. As I said, nothing is running other than the GUI. New machine, nothing to backup. Considering reinstalling the OS.
I can't even do that. I ran top and piped to grep and got the output - no problem there. Something is soooo messed up that I can't even type in the Firefox browser address bar so that I can post the output here. Keystrokes repeat 10 to 20 times. Example: trying to type "google" I get 10 g's, even if I backspace, I get one backspace, then another 10, so the address bar is wiped out. Thought that maybe it was the keyboard, so I swapped for another keyboard - same behavior.
Had to bring this over to another machine via thumb drive.
Scroll back to the 9:05 AM post. I AM running a GUI. I installed a GUI via the command:
sudo dnf groupinstall "Development and Creative Workstation" gnome LibreOffice
As was suggested under a post on the ask.fedoraproject.org site. I knew it would be installing a few tools I didn't necessarily need, but did not expect this result. Other than formatting and mounting a second (3 TB) hard drive, that is all that I have done to customize.
No, this is definitely a server, but wanted a GUI. I have Fedora 17 on another server, and appreciated the GUI, even though I am familiar with most command line tools. I found configuring the firewall easier, and I don't even know how (or if) I can run a web browser when running the character UI. So, are you suggesting that I need to remain in character mode to properly/effectively run the server version, or that I simply need to run a different GUI? If it is the latter, would you please suggest how I should get an appropriate GUI? To be clear, development is done on PC-based clients, not on the server, so I don't need developer tools in the GUI.
I would recommend trying it without the GUI first to see if you have a loading problem, and then consider your options, be they debugging the GUI you're using (noting that it also should be minus Libreoffice), and if you cannot debug with this UI, I'd recommend you search for alternative UI's which you can run on Fedora 25.
No specific ideas, the general ones I'd try would be to try to disable that GUI as the machine is constituted now, or instead since you cited earlier that it is a new machine and you are considering a reinstall, doing that, documenting all the steps you take when you do this, not installing the GUI and seeing how it performs, and then installing the GUI if you feel you want that, and seeing if it once again causes this problem.
A check of the Fedora support site might be advisable to see if anyone else has complained. So suggest that.
My only other thoughts are that if you properly document or remember all you've done up to "before the GUI", all is fine, then properly remember all you do to install the GUI, you should be able to reverse that an un-install the GUI. I haven't perused the instructions you followed, but you can review those and see if it seems obvious how to un-install, or if there's any links or references on there to contact to ask about un-installing if you decided you didn't want that GUI after all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.