Jump to content

CPU Running at 100%


rakemup

Recommended Posts

According to System Monitor my CPU runs at 100% a lot of the time. Any thoughts as to why this is occurring?Nothing is running except Firefox 3.6.18, Autokey ,system monitor, and a terminal. I run Mint 10, 2.6.35-30-generic, Gnome 2.32.0, with 4 GB ram on an AMD Athlon 64 3500+.There is plenty of disk space available. GPU is an N-Vidia card running dual monitors.Every time I open a new tab in FF, CPU jumps up to 100%.

Link to comment
Share on other sites

securitybreach

I would suggest taking a look at htop to see what is causing this. Off the top of my head, does this occur when you are watching a flash video?

Link to comment
Share on other sites

According to System Monitor my CPU runs at 100% a lot of the time. Any thoughts as to why this is occurring?Nothing is running except Firefox 3.6.18, Autokey ,system monitor, and a terminal. I run Mint 10, 2.6.35-30-generic, Gnome 2.32.0, with 4 GB ram on an AMD Athlon 64 3500+.There is plenty of disk space available. GPU is an N-Vidia card running dual monitors.Every time I open a new tab in FF, CPU jumps up to 100%.
It''s not a FF issue. Chrome also causes CPU usage to jump to 100%
Link to comment
Share on other sites

I don't think I'm running anything w/flash at the moment.Here is htop: Mem[|||||||||||||||||||||||||||||100.0%] Tasks: Swp[|||||||||||||||||||||| 60.6%] Load ave55ge: 0.812B0.55 0.51 | || ||||||1993 47.8 ] Uptime: 2 days, 5410.514 010PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME 75 0.529[4--More--17770 tc 25 5 919M 108M 23428 R 44.0 2.7 0:07.02 /usr/lib8chromium-18543 tc 20 0 19820 1464 1 browser/chr 2770 root 20 0 348M 164M 29060 S 35.0 4.1 1h15:55 htop bin/X :0 -br 3688617 439M 36704 21036 S 7.0 0.9 21:58.97 gnome-system 2936 tc 20 0 308M 54432 18572 S 3.0 1.3 11:13.84 /usr/bin/compiz16887 tc 20 0 716M 93756 38712 S 1.0 2.3 0:13.31 gnomelib/chromium-browser/chr18543 tc 20 0 19820 1552 1080 R 3.0 14.3 1h10:25 lib/chromium-browser/chr17083 root 20 0 474M 46784 23448 S 1.0 1.2 0:06.44 /usr/lib/chro12096 tc 20 0 654M 122M 31224 S 1.0 3.1 26:36.88 /usr/lib/firemium-browser/chr17131 tc 20 0 900M 79032 29044 S 1.0 1.9 0:12.86 htop firefox-3.6.18/plugi118337 tc 25 5 932M 116M 22984 S 0.0 2.9 0:09.74 r/chr16906 tc 20 0 716M 93748 38712 S 0.0 2.3 0:06.40 /usr/lib/chromium-browser/chr17770 root B 5 5 918M 1756 234282 S 0.0 2.9 0:09.28 /usr/lib/chromium-browser/chr 488 root 16 -4 17372 564 31224 S 1.0 3.1 26:36.68 /usr/lib/firefox-3.rowser/chr 699 root 18 -2 17548 0:00.09 udevd --daemon 700 root 18 708 384 S 0.0 0.0 0:00.01 udevd --daemon 1120 root 20 0 49312 1756 1300 S 0.0 0.0 0:00.00 udevd --daemon 972 S 0.0 0.1 0:00.05 smbd -Fl F10Quit

Link to comment
Share on other sites

Guest LilBambi

Hmmm, any reason you have both Chromium and Firefox running at the same time, AND more importantly, both running as root?I would suggest getting the latest versions of both Chromium and Firefox. Actually I would move to Google Chrome rather than Chromium as well.Also, you said this was 64-bit system. Are you running 64-bit system? Are you running 64-bit browsers? Do you have 32-bit Flash or beta 64-bit Flash installed?

Link to comment
Share on other sites

Actually I would move to Google Chrome rather than Chromium as well.
I run Chromium in my Linux installation at home and Chrome under Windows at work. They seem to be exactly the same.But it wouldn't surprise me in the least to find that you know plenty of stuff that I don't. Care to share? Why would you recommend Chrome over Chromium?
Link to comment
Share on other sites

I run 64-bit Mint 10 with mint-flashplugin-x64. I run Firefox and Chromium at the same time quite frequently with no apparent effect on CPU usage and never as root (despite what the HTOP shows). I try to stick with only software that is listed in the Synaptic Package manager - so both FF and Chrome are the 32 bit versions. I'm beginning to think this is a video issue. If I open Nautilus and try to open /usr/bin --- the nautilus window grays out and CPU usage immediately jumps to 100%. I'm going to try the latest NVidia driver to see if that fixes the problem.

Link to comment
Share on other sites

rakemup,Are you noticing an extreme slow down of resources when it displays 100% CPU usage? Could it be that you are not REALLY using 100% CPU usage but your System Monitor is erroneously stating 100%?Just a thought,All the best,Ian

Edited by ichase
Link to comment
Share on other sites

Guest LilBambi
I run 64-bit Mint 10 with mint-flashplugin-x64. I run Firefox and Chromium at the same time quite frequently with no apparent effect on CPU usage and never as root (despite what the HTOP shows). I try to stick with only software that is listed in the Synaptic Package manager - so both FF and Chrome are the 32 bit versions. I'm beginning to think this is a video issue. If I open Nautilus and try to open /usr/bin --- the nautilus window grays out and CPU usage immediately jumps to 100%. I'm going to try the latest NVidia driver to see if that fixes the problem.
I have seen strange behavior when running browsers and flash mismatched like that. If you have 32bit browsers, you should be using 32bit flash ... at least that is my understanding. If you want to use 64bit flash, then you will want to get 64bit browsers.Also, be aware that 64bit flash is still in beta from the developer (Adobe) and many folks have had issues with the beta.
Link to comment
Share on other sites

Guest LilBambi
I run Chromium in my Linux installation at home and Chrome under Windows at work. They seem to be exactly the same.But it wouldn't surprise me in the least to find that you know plenty of stuff that I don't. Care to share? Why would you recommend Chrome over Chromium?
This might help with that understanding: Google Chrome, Chromium, and Google (Chromium Blog)To me it's kinda like video cards and their drivers. Sometimes the proprietary driver or program is better even in linux.When it comes to many things, that might not be the case, such as in PDF readers, but there are times that you need a feature that is only available in Adobe PDF reader, and you might need to install it. But generally any pdf reader will work great.
Link to comment
Share on other sites

OK - this is where i am with this. Both FF and Chromium are 32-bit. I uninstalled flash 64-bit and installed 32-bit. I downloaded and installed the latest and greatest driver from Nvidia for my Geforce 6800 video card. My CPU is a lot lower than before - i.e. it only spikes up to 100% when I open a lot of apps and then only momentarily.There is still one app that pushes it up to 100% and it stays there. If I open Nautilus and click on USR/BIN, the CPU immediately goes to 100% and Nautilus grays out and freezes. There are 2246 items in usr/bin totalling 271 MB. This pc has 4G of ram and 9.5G of swap space. In system monitor I never see the memory move off 40% and the swap stays on 0%. Shouldn't the swap come into play when the CPU hits 100%?The top item in HTOP shows a root process taking up 30% of the CPU power - time of 27:52.51 (although I'm not signed in as root), and the command shows (/usr/bin/x :6 -br -verbose -auth /var/run/gdm etc.) What's that all about?

Link to comment
Share on other sites

V.T. Eric Layton

Swap is only used if you run out of actual RAM resources.There are always many background root processes running in Linux. You don't have to be logged in as root. They are part of the operating system. GDM is your Gnome desktop.

Link to comment
Share on other sites

securitybreach
Swap is only used if you run out of actual RAM resources.
Not always:
╔═ comhack@Cerberus 10:28 PM ╚═══ ~-> free			 total	   used	   free	 shared	buffers	 cachedMem:	  16469752   12715160	3754592		  0	 305448	5191148-/+ buffers/cache:	7218564	9251188Swap:	  4093948	  54072	4039876

Link to comment
Share on other sites

V.T. Eric Layton

Something strange on your system...

vtel57_Slackware~:$ free			 total	   used	   free	 shared	buffers	 cachedMem:	   4045068	1361556	2683512		  0	  32056	 492160-/+ buffers/cache:	 837340	3207728Swap:	  2048252		  0	2048252

Link to comment
Share on other sites

securitybreach
I think you should presume that your system got hacked and is running a rootkit. :devil:
Swap is accumulated as time goes on, not only if your memory is full. I do not have any rootkits nor was I hacked since I check this on a weekly basis. Also, my ram usage was not that high since some of the ram shown on free -m is cached ram.That and I keep htop open on one of my monitors at all times, so I watch my processes carefully.
Link to comment
Share on other sites

V.T. Eric Layton

It might be diff for you because you never power down your systems. I've never seen swap used on any of my systems... ever, I don't think.

Link to comment
Share on other sites

securitybreach
It might be diff for you because you never power down your systems. I've never seen swap used on any of my systems... ever, I don't think.
Could be:
╔═ comhack@Cerberus 01:43 PM ╚═══ ~-> uptime 13:43:08 up 14 days, 17:56, 11 users,  load average: 0.12, 0.18, 0.16

I only reboot when I get a new kernel.

Link to comment
Share on other sites

V.T. Eric Layton

HAHA!

vtel57_Slackware~:$ uptime 14:56:00 up  4:08,  2 users,  load average: 0.19, 0.14, 0.14

Link to comment
Share on other sites

Could be:
╔═ comhack@Cerberus 01:43 PM ╚═══ ~-> uptime 13:43:08 up 14 days, 17:56, 11 users,  load average: 0.12, 0.18, 0.16

I only reboot when I get a new kernel.

14 days? piker :devil:
 ~]$ uptime 13:18:09 up 31 days, 18:30,  1 user,  load average: 0.29, 0.22, 0.16

and

 g]# uptime 13:17:48  up 58 days, 22:04,  1 user,  load average: 2.30, 2.37, 2.17

Link to comment
Share on other sites

securitybreach

Well there are usually at least two kernel upgrades a month with Archlinux, so my uptime is a bit shorter on this rig. My Archlinux VPS on the other has:

[comhack@DarkStar ~]$ uptime 16:25:48 up 41 days, 17:10, 16 users,  load average: 0.00, 0.02, 0.05

That is with a custom kernel that does not get upgraded that much and when it does, it does not need to be rebooted.

Link to comment
Share on other sites

What a waste of electricity and component lifetime. :thumbsdown:
Not if he's on it 24/7 :devil:
chip@bodhi-ssd:~$ uptime 19:31:41 up  3:44,  1 user,  load average: 0.01, 0.06, 0.12

Link to comment
Share on other sites

may I ask what the " users " are?

[rejean@localhost ~]$ uptime 21:49:06 up 12:47,  2 users,  load average: 0.00, 0.01, 0.00[rejean@localhost ~]$

I thought I was the only one using my computer. :devil: Seriously!

Link to comment
Share on other sites

V.T. Eric Layton

Users are the individual instances of logged in entities. You see two on mine because one login is for my graphic user interface and the second is for my login at the command line in the terminal. 1+1=2. :thumbsdown: If I opened three more terminals as user or root, I'd show 5 users -> one for the GUI, 4 more for the terminals. :)Clear as mud, eh?Check out the image below. I have 5 tabs opened in my terminal. That's five instances of a user at the command line. Notice the command "who" is listing the six users. The first one on the list (tty) is my graphical user interface login. The five following are the terminal users (tabs).tty_shot.pngIf I run the "uptime" command with those tabs open, it'll show six users. See below:

vtel57_Slackware~:$ uptime 21:29:24 up 17 min,  6 users,  load average: 0.10, 0.15, 0.21

Neato, huh? Bruno taught me this because I asked him the exact same question one night many years ago. :devil:

Link to comment
Share on other sites

Thank you so much Eric. Clear as a full moon reflecting over the Atlantic ocean ( rarely these days ). I'm glad that Bruno's knowledge didn't always fall into deaf ears as it happened so often with me, over and over.

Link to comment
Share on other sites

V.T. Eric Layton
....fall into deaf ears as it happened so often with me, over and over.
Now, I don't believe that, and I KNOW Bruno wouldn't have thought that either. Think of how far you've come since the very first time you tried Linux. What a a long, strange trip it's been, huh? ;)Apologies for swiping Grateful Dead lyrics. :)
Link to comment
Share on other sites

securitybreach
What a waste of electricity and component lifetime. :)
Well considering my VPS is a server that hosts a few things and I pay for 24/7 uptime.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...