LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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



Reply
 
Search this Thread
Old 08-02-2010, 12:57 PM   #1
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Rep: Reputation: 41
Performance hit from plugin-container in Firefox


I was wondering why my laptop was running so slowly, and so I called top to find out where the resources were going. I found a process called plugin-container that appeared to be the culprit. So I did a googlesearch on that subject and found that plugin-container was introduced in Firefox 3.6.4 for the purpose of preventing plugin misbehavior from crashing the entire browser.

There's quite a lot of net-talk about plugin-container, but most of it pertains to the Windows environment. I tried the suggested fix (Linux version):
Type about:config in the URL bar.
Do a search on dom.ipc.plugins.
Set the properties for libflashplayer.so and libnptest.so to false.
It does seem to have helped with the performance problem, and plugin-container no longer has top billing in top.

However, plugin-container was introduced to solve a problem, so I suppose that this fix changes the status of that problem to "unsolved". For that reason I'm uneasy about this solution.

Does anyone have insight into this issue?
 
Old 08-02-2010, 02:25 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
I don't like the idea of disabling it either. The new container system is designed to separate out badly-performing plugins so you don't get crashes all the time. Disabling the container just puts you back to the unstable system that existed before.

I'm going to guess you've probably seen this page about it already.

http://kb.mozillazine.org/Plugin-con...rocess_plugins

I sometimes get similar problems to you, but I've always blamed it on flashplayer itself, as I've had them even before the plugin-container was implemented. When I get a chance though I'll try to disable it and see if that helps. But I'm sure that over time any performance problems (with the container system at least) will get worked out.

One nice thing about the container though is that you can kill that process and it won't affect firefox itself. If it starts acting up, simply "pkill plugin-cont" and it should go away. Then you can reload the original page and it should re-spawn.

Last edited by David the H.; 08-02-2010 at 02:26 PM.
 
1 members found this post helpful.
Old 08-02-2010, 04:33 PM   #3
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Original Poster
Rep: Reputation: 41
Pros and cons

Yes, plugin-container does something useful, but at a very high cost in system load. Assuming you haven't disabled plugin-container, just try running top in a shell window to see how much of the machine resources it's grabbing.

I hope that the Mozilla folks figure out a way to get the benefit at a more modest cost. Until they do, I'll take my chances with browser crashes and hangs on Flash pages.
 
1 members found this post helpful.
Old 08-03-2010, 02:00 AM   #4
nowshining
Member
 
Registered: Dec 2007
Distribution: Ibex
Posts: 93

Rep: Reputation: 15
Quote:
Originally Posted by pwabrahams View Post
I was wondering why my laptop was running so slowly, and so I called top to find out where the resources were going. I found a process called plugin-container that appeared to be the culprit. So I did a googlesearch on that subject and found that plugin-container was introduced in Firefox 3.6.4 for the purpose of preventing plugin misbehavior from crashing the entire browser.

There's quite a lot of net-talk about plugin-container, but most of it pertains to the Windows environment. I tried the suggested fix (Linux version):
Type about:config in the URL bar.
Do a search on dom.ipc.plugins.
Set the properties for libflashplayer.so and libnptest.so to false.
It does seem to have helped with the performance problem, and plugin-container no longer has top billing in top.

However, plugin-container was introduced to solve a problem, so I suppose that this fix changes the status of that problem to "unsolved". For that reason I'm uneasy about this solution.

Does anyone have insight into this issue?
Thanks for the about:config fix. - was wondering how to turn it off as I had more probs when this was intro and added than I had before with crashes on flash items/etc.
 
Old 08-03-2010, 06:28 AM   #5
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 61

Rep: Reputation: 17
The same problem occurs with Opera and Linux. In fact often several plugin-containers are running. They also take a trmendous amout of cPU usage. I am forever killinh them but some times they don't seem to want to die.
 
Old 08-04-2010, 04:20 AM   #6
nxja
Member
 
Registered: Feb 2007
Location: Within The Universe, usually
Distribution: If I tell you, you will kill me.
Posts: 77

Rep: Reputation: 17
Quote:
Originally Posted by kwill View Post
The same problem occurs with Opera and Linux. In fact often several plugin-containers are running. They also take a trmendous amout of cPU usage. I am forever killinh them but some times they don't seem to want to die.
perhaps run with flash off? opera has one of those drag custom buttons, that ends up in Ini.
in ff, i use quickjava extension, which now has (dis|en)able buttons for js, java, silverlight (i assume win-only), css, and img. disclaimer: i have not verified the effect upon plugins-container.exe (the exe for ff on win)
looks like current vesion 1.7.2 is not causing trouble:
http://www.google.com/search?q=site:...=100&as_qdr=m8
http://www.google.com/search?q=site%...ugin-container
 
  


Reply

Tags
firefox


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Mutter Can Cause A Gaming/OpenGL Performance Hit Too LXer Syndicated Linux News 0 06-21-2010 07:00 PM
LXer: KWin Can Cause A Performance Hit Too LXer Syndicated Linux News 0 05-24-2010 03:10 AM
PAE Performance Hit Woodsman Slackware 9 05-07-2009 04:58 AM
Any methods to reduce the performance hit of using Tor? dr_zayus69 Linux - Networking 1 10-28-2006 07:04 AM
BIG gaming performance HIT!? 4x AGP... RHLinuxGUY Linux - Games 1 12-02-2003 11:20 PM


All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
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