Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-31-2004, 04:53 AM
|
#1
|
LQ Newbie
Registered: Dec 2003
Location: Washinton state, USA
Distribution: Mandriva 2005 LE...moving to SuSE 9.3
Posts: 23
Rep:
|
CPU load spikes every ten seconds, causes problems
I am watching my CPU load with gkrellm, and every 10 seconds it spikes to around 40% even if I am doing nothing. For some reason, this causes a problem when I am typing. Whatever character I typed when the spike occurred gets doubled. I endd up with sentences like thhis. How can I find out what is going on and stop it?
I'm using KDE under Mandrake 10.0. (Just installed a week ago. Moved from Red Hat.)
It doesn't seem to matter what program I am typing in.
I tried turing off crond, but that didn't do anything.
KDE System Guard shows that X is the program hogging the CPU every ten seconds, but I obviously can't kill that.
Once in a while everything works fine, but I can't figure out what's different then.
I'm not a total newbie, but I'm out of ideas.
---Dan
Last edited by beetlenaut; 08-31-2004 at 05:39 AM.
|
|
|
08-31-2004, 05:28 AM
|
#2
|
Member
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114
Rep:
|
With my computer when you're doing nothing it doesn't go higher than 1%. Thing might also run smoother if you install the original drivers for you're graphic card (NVIDIA, ATI,...). Also check you're Mandrake updates to see if you have the latest XFREE68 installed
|
|
|
08-31-2004, 08:12 AM
|
#3
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
You could run top for a bit and see what program is causing the CPU spike
|
|
|
08-31-2004, 05:04 PM
|
#4
|
LQ Newbie
Registered: Dec 2003
Location: Washinton state, USA
Distribution: Mandriva 2005 LE...moving to SuSE 9.3
Posts: 23
Original Poster
Rep:
|
System Guard does the same thing as top, it's just prettier. Both show X as the program that is causing the spike. What do I do about THAT?
(I had to backspace over a double letter three times while writing this post. This is getting intolerable.)
---Dan
|
|
|
08-31-2004, 09:17 PM
|
#5
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Wow. I'll be upfront and say that I don't have a clue why X would spike to 40% cpu usage, but it might be worth looking in the X log as well as the system and messages file and see if X is complaining about anything. I suppose that it's possible that X is having trouble with your video driver, but that is just a WAG. When you configured your system, did you have a choice of drivers to use? If so, it might be worth trying a different one.
|
|
|
08-31-2004, 09:19 PM
|
#6
|
Member
Registered: Aug 2004
Location: Scotland
Distribution: Debian, Suse, Knoppix, Dyna:bolic, Mandrake [couple of years ago], Slackware [1993 or so]
Posts: 150
Rep:
|
Maybe you are routing your Font server over Bejing
|
|
|
08-31-2004, 10:04 PM
|
#7
|
LQ Newbie
Registered: Dec 2003
Location: Washinton state, USA
Distribution: Mandriva 2005 LE...moving to SuSE 9.3
Posts: 23
Original Poster
Rep:
|
I checked the messages and system logs as well as several others and didn't see anything enlightening. I didn't know that X had its own log though. What is it called, and where is it? I didn't see anything that sounded like it would be for X in the /var/log directory.
This whole thing wouldn't bother me if it weren't for those random double letters.
Thanks,
---Dan
|
|
|
08-31-2004, 10:13 PM
|
#8
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
I'm not sure about RH, but Slackware keeps it in /var/log. It is helpfully named Xorg.0.log. However, RH9 is probably using XFree so I think the name would be XFree86.log (or something along those lines)
I suppose as a last resort you could rip out the X rpms and re-install X from CD.
|
|
|
09-01-2004, 01:41 AM
|
#9
|
LQ Newbie
Registered: Dec 2003
Location: Washinton state, USA
Distribution: Mandriva 2005 LE...moving to SuSE 9.3
Posts: 23
Original Poster
Rep:
|
Ok. That helped. I read the log file, but there was nothing in there. It was pretty short, and there were no errors, complaints, or gripes. Reinstalling hardly seems necessary because I just installed Mandrake about a week ago. Whatever it is must have come with Mandrake because all I've installed that didn't come on the disks are a CD ripper and an MP3 encoder front end, neither of which is running. Having to reinstall Windows twice a year was part of what made me switch to Linux in the first place. Hasn't anyone else ever had a problem like this?
---Dan
|
|
|
09-01-2004, 07:56 AM
|
#10
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Well, I wasn't talking about re-installing Mandrake, I was suggesting re-installing just X. However, before you take a step like that, have you investigated using a different driver for your video card?
|
|
|
09-01-2004, 09:12 AM
|
#11
|
Senior Member
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,079
Rep:
|
If you really have to reinstall everything again, I would suggest you a different distro than Mandrake. It just sucks (IMHO). I had a REAL pain in the butt with Mandrake and I've seen too many users having troubles as well. I switched to RH and later on to FC2 and now all is smoothy.
But, as Hangdog42 said, first of all make sure it's the only solution left. Check video drivers or some background programs that may have some conflict with X.
|
|
|
09-02-2004, 09:59 PM
|
#12
|
LQ Newbie
Registered: Dec 2003
Location: Washinton state, USA
Distribution: Mandriva 2005 LE...moving to SuSE 9.3
Posts: 23
Original Poster
Rep:
|
The video card driver is correct. But...
I have discovered something new and interesting! First, it's KDE. I tried switching to the Gnome desktop, and I didn't have any problems. I like KDE much better (except for this problem).
Second, some programs cause this problem, and others don't. Here are some I've tested specifically, and whether or not they cause the CPU spike/double letters:
showimg (KDE-based file viewer): NO
the GIMP: NO
gkrellm (system monitor): NO (it's always on)
Quanta + (html editor): YES
KWrite: YES
Galeon (GNOME-based web browser): YES
Konquerer: YES
Mozilla: YES
What's more, if the programs are minimized, they don't cause the problem then either. However, if they are maximized, covering them up by a well-behaved program doesn't fix it.
That might be enough info for someone to take a guess as to what component is causing the problem. I just hope people are still reading this thread. Would it be bad manners to start a new one with everything I now know?
---Dan
|
|
|
09-03-2004, 08:08 AM
|
#13
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
That's pretty interesting, unfortunately I sure don't have any suggestions. If it is any consolation, a little googling shows that you are not the only one having this problem with KDE, but I didn't see any suggestions other than to use a VESA driver instead of a card-specific driver.
I'd give this thread a little longer (maybe a bump or two) and if you don't get any answers, re-post as a KDE problem.
|
|
|
09-03-2004, 10:41 PM
|
#14
|
LQ Newbie
Registered: Dec 2003
Location: Washinton state, USA
Distribution: Mandriva 2005 LE...moving to SuSE 9.3
Posts: 23
Original Poster
Rep:
|
Using a VESA driver does indeed make the problem almost go away. I still get a little spike, but don't seem to have any problem when typing. I only get one choice in refresh rates though, and it's an instant-headache-inducing 60Hz. Maybe I will just use Gnome for a while.
I will look around and probably re-post as a KDE problem. Thank you to everyone who responded!
---Dan
|
|
|
09-04-2004, 08:37 AM
|
#15
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
You might want to take the opportunity to check out some other environments besides Gnome and KDE. Xfce seems to attract a number of KDE users, Fluxbox is nice if you like minimalism, and there a bunch of others. Check out the monster screenshot thread in General and see if anything strikes your fancy.
|
|
|
All times are GMT -5. The time now is 06:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|