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.
I recently finished installing Red Hat 7.3. As soon as I logged on, I noticed that everything was verrrrry slow, the shell took almost a full minute just to load. When I go into KPM, my cpu load stays at just about 95%. It seems that whenever I load any program (the konsole, KPM, etc.) whatever I just loaded suddenly takes up 20-30% of the CPU load. I verified this in TOP in the shell. I have a 550 Mhz AMD processor and 128 mgs of ram, which I have heard shouldn't be a problem. What could be causing this?
I was trying to see if KDE was creating the problem because "kdeinit" often shows at the top of the KPM system % list. I was wondering if it is possible to run just the shell, not KDE (like booting in DOS mode for Windows) and then run TOP to see how my cpu utilization is. If so, how do I get into that mode, when you go to log out, theres no "restart in text mode" option or anything like that. I looked all over for a setting to change and I can't figure it out?
To kill X and "be in DOS" do this:
after the system boots, and starts it's gui press CTRL ALT F2
Login as root, and supply the password.
Type init 3 (might be init3 without the space)
This will now have successfully killed your gui. To check press CTRL ALT F7 (or possibly just ALT F7) and if your gui doesn't come up, consider it killed.
Thanks! That worked, and in TOP now my cpu load is like 1% used and 99% free. So back to my original question, now that we know that without KDE it works fine, what could be causing it to slow down this much. With KDE the used and free CPU load numbers reverse, and the system is almost impossible to work with?
I do have a modem and network card, and my original thought was that some process was continually failing and taking up all the CPU power. However, I went in and disactivated and deleted everything listed on the screen and the problem still persists.
If there is some process constantly running, how could I find it. When I go into the Process Manager when KDE _is_ running, the 99.9% CPU load use comes from a few processes that come up to 20 or 30 percent. Those processes can be kdeinit, kpm itself, the konsole, or any program I have running. CPU utilization stays up at 99% even if nothing but the process manager is running (and whatever is running in the background).
I'd appreciate any tips or ideas on how to troubleshoot this.
I'm having the same problem with Mandrake and KDE. It works fine most of the time, then for some reason it slows to a crawl. Let me know if you figure it out. I don't even know where to begin, brand new to Linux.
It is normal that kdeinit shows up lots of times in the process list, matter of optimizing the startup time of kde apps. So you have for every application you started one kdeinit process. To know which process belongs to which app use "ps ax"
What does TOP show? Whatever I am running, be it System Guard, a Konsole window, or Konqueror, that program will suddenly rise up to 50 or 60% CPU usage, and other processes will rise until it is 99% used. Even if the Konsole window for TOP is all I am running in KDE, top itself will go up to 90% or so. Its not a matter of one process taking up the CPU utilization, but whatever small program is running suddenly rising to take up the entire CPU load. Is there some setting I accidentally set to make all programs take all available CPU space?
Since I cannot get online with Linux yet, I can't copy and paste the whole screen in there, but I'll list some info. I booted Linux, logged on, and opened a Konsole window to run TOP. Since only about 50% of the CPU was being used up, I opened Konqueror. As it was booting, my top had the following info:
86.0% User 13.3% System 0.0% Nice 0.5% Idle
PRI:25 CPU %:57.4 Command: kdeinit
That was the top listing, the next few were another kdeinit (11.6% CPU and 15 PRI), X (10.1% and 15 PRI) and kdeinit (8.8% 15 PRI), followed by top itself at 4.4%.
Sorry, I thought I posted those earlier. The computer we built from scratch (well, not scratch, but you know what I mean). It has a 550 AMD processor and 128 RAM, which I was told by two other people would work fine with RH 7.3 Linux.
Why it runs so many tasks as root, I'm not even logged in as root!
Adas, the only thing I can see there that looks worrying is the WINE server. I don't know if you are using it, but I know that Mandy and RH both install it as default, and then run it as a service at boot time. You need do disable it, both in your init 3 and init 5. Just look at the /etc/rc.d/ and you'll find the scripts which start all the services, disable WINE and you'll free up 33% of your memory (if your TOP above is correct).
I wish mine had something like that, but its almost always kdeinit or whatever I have running that suddenly rises up to 50 or 60%. It does have a PRI of 25, like I listed above, any ideas?
Use a different window manager. Something less bloated, like sawfish, XFCE, Fluxbox, or blackbox. You probably have a few of those already on your system to use, so no need to download/install anything yet.
Then check TOP and see if you are still getting kdeinit's running.
Also, you might wanna see about starting your wm from the command line, this might be a little less resource hungry
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.