LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-18-2011, 02:06 PM   #1
laredotornado
Member
 
Registered: Apr 2011
Posts: 53

Rep: Reputation: 0
Flash player consuming 100% of CPU


Hi,

I'm using Ubuntu 11.04, Firefox 4 and the latest version of Flash. My other machine specs are

Code:
processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 8
model name	: Six-Core AMD Opteron(tm) Processor 2439 SE
stepping	: 0
cpu MHz		: 2800.112
cache size	: 512 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl tsc_reliable nonstop_tsc pni cx16 popcnt hypervisor lahf_lm extapic abm sse4a misalignsse 3dnowprefetch
bogomips	: 5600.22
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management:
When visiting some web sites that use Flash, there occasionally seem to be hung Flash processes, for example

Code:
24749 selenium  20   0 75796  14m 8928 R   25  0.7 280:09.38 npviewer.bin                                                                              
 1974 selenium  20   0 75668  14m 8928 R   25  0.7   4:54.28 npviewer.bin                                                                              
14618 selenium  20   0 80464  19m 9.8m R   25  0.9 210:08.32 npviewer.bin                                                                              
32061 selenium  20   0 85548  19m  10m R   25  1.0 180:32.49 npviewer.bin                                                                              
12805 selenium  20   0 78148  15m 9664 R   25  0.8 215:39.27 npviewer.bin                                                                              
19385 selenium  20   0 76252  14m 8924 R   25  0.7 105:07.66 npviewer.bin
that consume 100% of the CPU. Since this is a virtual machine, it is causing concern in our environment b/c other virtual machines are impacted. Any ideas how to coax this plugin to use less CPU?

Thanks, - Dave
 
Old 07-19-2011, 10:28 AM   #2
backwoodsman
LQ Newbie
 
Registered: Feb 2007
Posts: 26

Rep: Reputation: 3
I can't help you get it working, but a workaround would be to install the Flashblock addon for Firefox. It replaces flash animations with an empty box, which you can click to load the flash if you want. It's the first addon I install when I'm setting up a machine.
https://addons.mozilla.org/en-US/fir...on/flashblock/
 
Old 07-19-2011, 10:46 AM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,309

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
It is likely on your setup. I have yesterday's technology, AthlonXP 32 bit w/firefox 4 and 1 gig of ram I never see stray processes or 100% of my (comparatively puny) cpu. On this site

http://www.flashcomguru.com/apps/ful...ullscreen.html

I get around 50% probably grabbed by feeding the ati graphics card. I have slackware-13.37. Put this in as ~/.mms.cfg and see if it helps.

Quote:
# mms.cfg

LocalFileReadDisable = 0
FileDownloadDisable = 0
LocalStorageLimit = 6
ThirdPartyStorage = 1
AssetCacheSize = 100 MB
AutoUpdateDisable = 1
AllowUserLocalTrust = 1
OverrideGPUValidation = 1
RTMFPP2PDisable = 0
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fast and low cpu consuming mp3 player ? gurl4sh25 Linux - Software 6 04-28-2012 05:47 PM
pdflush daemon consuming 100% CPU usage for longer time makrandelex Linux - Server 1 09-15-2009 09:43 PM
X server consuming 100% CPU on 12.1 gmelendez Slackware 2 08-19-2008 04:22 PM
evolution consuming 100% CPU to synchronize folder maxfacta Linux - Software 1 08-23-2007 10:35 PM
printer consuming 100% cpu jonfa Solaris / OpenSolaris 8 05-18-2007 04:34 PM


All times are GMT -5. The time now is 04:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration